models -> .models, views -> .views pro zprovozneni importu
This commit is contained in:
parent
ca89637c26
commit
9ffcd604db
2 changed files with 4 additions and 3 deletions
|
@ -4,8 +4,8 @@ from __future__ import unicode_literals
|
||||||
|
|
||||||
from autocomplete_light import shortcuts as autocomplete_light
|
from autocomplete_light import shortcuts as autocomplete_light
|
||||||
|
|
||||||
from models import Obrazek, Galerie
|
from .models import Obrazek, Galerie
|
||||||
from views import cesta_od_korene
|
from .views import cesta_od_korene
|
||||||
|
|
||||||
|
|
||||||
class ObrazekAutocomplete(autocomplete_light.AutocompleteModelBase):
|
class ObrazekAutocomplete(autocomplete_light.AutocompleteModelBase):
|
||||||
|
|
|
@ -133,6 +133,7 @@ class ProblemAutocomplete(autocomplete_light.AutocompleteModelBase):
|
||||||
'class': 'modern-style',
|
'class': 'modern-style',
|
||||||
}
|
}
|
||||||
|
|
||||||
autocomplete_light.register(ProblemAutocomplete)
|
# FIXME: nefunguje, nevime proc.
|
||||||
|
#autocomplete_light.register(ProblemAutocomplete)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue