mamweb/korektury/migrations/0007_auto_20151225_1237.py
2015-12-25 12:38:42 +01:00

33 lines
1.3 KiB
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import korektury.models
class Migration(migrations.Migration):
dependencies = [
('korektury', '0006_oprava_pdf'),
]
operations = [
migrations.AddField(
model_name='korekturovanepdf',
name='status',
field=models.CharField(default=b'pridavani', max_length=16, verbose_name='stav PDF', choices=[(b'pridavani', 'P\u0159id\xe1v\xe1n\xed korektur'), (b'zanaseni', 'Korektury jsou zan\xe1\u0161eny'), (b'zastarale', 'Star\xe1 verze, nekorigovat')]),
preserve_default=True,
),
migrations.AlterField(
model_name='korekturovanepdf',
name='pdf',
field=models.FileField(upload_to=korektury.models.generate_filename, verbose_name='PDF'),
preserve_default=True,
),
migrations.AlterField(
model_name='oprava',
name='status',
field=models.CharField(default=b'k_oprave', max_length=16, verbose_name='stav opravy', choices=[(b'k_oprave', 'K oprav\u011b'), (b'opraveno', 'Opraveno'), (b'neni_chyba', 'Nen\xed chyba'), (b'k_reakci', 'K reakci autora textu'), (b'smazano', 'Smaz\xe1no')]),
preserve_default=True,
),
]