From 9ffcd604db1f33a39ebf33f224798637b9b484e6 Mon Sep 17 00:00:00 2001 From: Anet Date: Tue, 23 Apr 2019 22:27:20 +0200 Subject: [PATCH] models -> .models, views -> .views pro zprovozneni importu --- galerie/autocomplete_light_registry.py | 4 ++-- seminar/autocomplete_light_registry.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/galerie/autocomplete_light_registry.py b/galerie/autocomplete_light_registry.py index 69dc6a5b..38afde0c 100644 --- a/galerie/autocomplete_light_registry.py +++ b/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): diff --git a/seminar/autocomplete_light_registry.py b/seminar/autocomplete_light_registry.py index 0dde93a0..6147135c 100644 --- a/seminar/autocomplete_light_registry.py +++ b/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)