Browse Source

Fix admin Nastavení

middleware_test
Pavel "LEdoian" Turinsky 4 years ago
parent
commit
11e1924338
  1. 3
      seminar/admin.py

3
seminar/admin.py

@ -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)

Loading…
Cancel
Save