mamweb/seminar/migrations/0009_rename_imported_IDs.py

48 lines
1.8 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('seminar', '0008_reseni_forma'),
]
operations = [
migrations.RenameField(
model_name='problem',
old_name='dakos_id',
new_name='import_dakos_id',
),
migrations.RenameField(
model_name='resitel',
old_name='dakos_id',
new_name='import_mamoper_id',
),
migrations.RenameField(
model_name='skola',
old_name='dakos_id',
new_name='import_dakos_id',
),
migrations.AlterField(
model_name='problem',
name='import_dakos_id',
field=models.CharField(default=b'', help_text='ID z importu z DAKOSU s prefixem podle p\u016fvodu: "AZAD:xxx (MAMOPER.MM_AZAD), ""DOZ:xxx" (MAMOPER.MM_DOZ), "ZAD:rocnik.cislo.uloha.typ" (MAMOPER.MM_ZADANIA)', max_length=32, verbose_name='importovan\xe9 ID s typem', blank=True),
preserve_default=True,
),
migrations.AlterField(
model_name='resitel',
name='import_mamoper_id',
field=models.CharField(default=b'', help_text='MAMOPER.MM_RIESITELIA.ID z DAKOS importu, jen historick\xfd v\xfdznam', max_length=32, verbose_name='importovan\xe9 MM_RIESITELIA.ID', blank=True),
preserve_default=True,
),
migrations.AlterField(
model_name='skola',
name='import_dakos_id',
field=models.CharField(default=b'', help_text='DKSROOT.V_SKOLA.ID z DAKOS importu, jen historick\xfd v\xfdznam', max_length=32, verbose_name='importovan\xe9 DKSROOT.V_SKOLA.ID', blank=True),
preserve_default=True,
),
]