Browse Source

models -> .models, views -> .views pro zprovozneni importu

export_seznamu_prednasek
Anet 6 years ago
parent
commit
9ffcd604db
  1. 4
      galerie/autocomplete_light_registry.py
  2. 3
      seminar/autocomplete_light_registry.py

4
galerie/autocomplete_light_registry.py

@ -4,8 +4,8 @@ from __future__ import unicode_literals
from autocomplete_light import shortcuts as autocomplete_light
from models import Obrazek, Galerie
from views import cesta_od_korene
from .models import Obrazek, Galerie
from .views import cesta_od_korene
class ObrazekAutocomplete(autocomplete_light.AutocompleteModelBase):

3
seminar/autocomplete_light_registry.py

@ -133,6 +133,7 @@ class ProblemAutocomplete(autocomplete_light.AutocompleteModelBase):
'class': 'modern-style',
}
autocomplete_light.register(ProblemAutocomplete)
# FIXME: nefunguje, nevime proc.
#autocomplete_light.register(ProblemAutocomplete)

Loading…
Cancel
Save