|
@ -6,7 +6,6 @@ from django.forms import widgets |
|
|
from solo.admin import SingletonModelAdmin |
|
|
from solo.admin import SingletonModelAdmin |
|
|
|
|
|
|
|
|
from seminar.models.nastaveni import Nastaveni |
|
|
from seminar.models.nastaveni import Nastaveni |
|
|
from personalni.models import Resitel |
|
|
|
|
|
from seminar.models.novinky import Novinky |
|
|
from seminar.models.novinky import Novinky |
|
|
from seminar.models.pomocne import Text, Obrazek |
|
|
from seminar.models.pomocne import Text, Obrazek |
|
|
|
|
|
|
|
@ -20,10 +19,6 @@ class TextAdminInline(admin.TabularInline): |
|
|
|
|
|
|
|
|
admin.site.register(Text) |
|
|
admin.site.register(Text) |
|
|
|
|
|
|
|
|
class ResitelInline(admin.TabularInline): |
|
|
|
|
|
model = Resitel |
|
|
|
|
|
extra = 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# admin.site.register(Pohadka) |
|
|
# admin.site.register(Pohadka) |
|
|
admin.site.register(Obrazek) |
|
|
admin.site.register(Obrazek) |
|
|