Migrace: Neumím sed-ovat, tak další pokus o migraci ČísloNodů
This commit is contained in:
parent
37c81de601
commit
ddbc169f49
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ from django.db import migrations
|
|||
def generuj_RocnikNody_a_CisloNody(apps,schema_editor):
|
||||
Rocnik = apps.get_model('seminar', 'Rocnik')
|
||||
RocnikNode = apps.get_model('seminar', 'RocnikNode')
|
||||
Cislo = apps.get_model('seminar', 'Rocnik')
|
||||
CisloNode = apps.get_model('seminar', 'RocnikNode')
|
||||
Cislo = apps.get_model('seminar', 'Cislo')
|
||||
CisloNode = apps.get_model('seminar', 'CisloNode')
|
||||
|
||||
last_rn = None # last_* slouží k navázání následníků
|
||||
for r in Rocnik.objects.all():
|
||||
|
|
Loading…
Reference in a new issue