fix 2 (Pavel)
This commit is contained in:
parent
365d1a9a32
commit
7fa3c2f5c2
1 changed files with 3 additions and 2 deletions
|
@ -6,9 +6,10 @@ def fix_all(apps, schema_editor):
|
|||
ContentType = apps.get_model('contenttypes', 'ContentType')
|
||||
for modelname in [
|
||||
# Problémy:
|
||||
'Konfera', 'Tema', 'Uloha', 'Clanek'
|
||||
'Tema', 'Uloha', 'Clanek',
|
||||
# Konfery neexistuji, takze ani neni co nastavovat...
|
||||
# TreeNody:
|
||||
'RocnikNode', 'CisloNode', 'MezicisloNode', 'TemaVCisleNode', 'OrgTextNode', 'UlohaZadaniNode', 'PohadkaNode', 'UlohaVzorakNode', 'TextNode', 'CastNode', 'ReseniNode'
|
||||
'RocnikNode', 'CisloNode', 'MezicisloNode', 'TemaVCisleNode', 'OrgTextNode', 'UlohaZadaniNode', 'PohadkaNode', 'UlohaVzorakNode', 'TextNode', 'CastNode', 'ReseniNode',
|
||||
]:
|
||||
Model = apps.get_model('seminar', modelname)
|
||||
ct = ContentType.objects.get_for_model(Model)
|
||||
|
|
Loading…
Reference in a new issue