Fix admin Nastavení
This commit is contained in:
parent
4f42621fb3
commit
11e1924338
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ from django.contrib import admin
|
|||
from polymorphic.admin import PolymorphicParentModelAdmin, PolymorphicChildModelAdmin, PolymorphicChildModelFilter
|
||||
from reversion.admin import VersionAdmin
|
||||
from django_reverse_admin import ReverseModelAdmin
|
||||
from solo.admin import SingletonModelAdmin
|
||||
|
||||
# Todo: reversion
|
||||
|
||||
|
@ -160,5 +161,5 @@ class TextNodeAdmin(PolymorphicChildModelAdmin):
|
|||
show_in_index = True
|
||||
|
||||
|
||||
admin.site.register(m.Nastaveni)
|
||||
admin.site.register(m.Nastaveni, SingletonModelAdmin)
|
||||
admin.site.register(m.Novinky)
|
||||
|
|
Loading…
Reference in a new issue