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