Fix admin Nastavení

This commit is contained in:
Pavel "LEdoian" Turinsky 2020-09-04 17:29:22 +02:00
parent 4f42621fb3
commit 11e1924338

View file

@ -3,6 +3,7 @@ from django.contrib import admin
from polymorphic.admin import PolymorphicParentModelAdmin, PolymorphicChildModelAdmin, PolymorphicChildModelFilter from polymorphic.admin import PolymorphicParentModelAdmin, PolymorphicChildModelAdmin, PolymorphicChildModelFilter
from reversion.admin import VersionAdmin from reversion.admin import VersionAdmin
from django_reverse_admin import ReverseModelAdmin from django_reverse_admin import ReverseModelAdmin
from solo.admin import SingletonModelAdmin
# Todo: reversion # Todo: reversion
@ -160,5 +161,5 @@ class TextNodeAdmin(PolymorphicChildModelAdmin):
show_in_index = True show_in_index = True
admin.site.register(m.Nastaveni) admin.site.register(m.Nastaveni, SingletonModelAdmin)
admin.site.register(m.Novinky) admin.site.register(m.Novinky)