|
@ -106,6 +106,8 @@ class TreeNodeAdmin(PolymorphicParentModelAdmin): |
|
|
m.PohadkaNode, |
|
|
m.PohadkaNode, |
|
|
m.UlohaVzorakNode, |
|
|
m.UlohaVzorakNode, |
|
|
m.TextNode, |
|
|
m.TextNode, |
|
|
|
|
|
m.CastNode, |
|
|
|
|
|
m.OrgTextNode, |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
actions = ['aktualizuj_nazvy'] |
|
|
actions = ['aktualizuj_nazvy'] |
|
@ -159,6 +161,16 @@ class TextNodeAdmin(PolymorphicChildModelAdmin): |
|
|
base_model = m.TextNode |
|
|
base_model = m.TextNode |
|
|
show_in_index = True |
|
|
show_in_index = True |
|
|
|
|
|
|
|
|
|
|
|
@admin.register(m.CastNode) |
|
|
|
|
|
class TextNodeAdmin(PolymorphicChildModelAdmin): |
|
|
|
|
|
base_model = m.CastNode |
|
|
|
|
|
show_in_index = True |
|
|
|
|
|
|
|
|
|
|
|
@admin.register(m.OrgTextNode) |
|
|
|
|
|
class TextNodeAdmin(PolymorphicChildModelAdmin): |
|
|
|
|
|
base_model = m.OrgTextNode |
|
|
|
|
|
show_in_index = True |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin.site.register(m.Nastaveni) |
|
|
admin.site.register(m.Nastaveni) |
|
|
admin.site.register(m.Novinky) |
|
|
admin.site.register(m.Novinky) |
|
|