Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.3 KiB
32 lines
1.3 KiB
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,
|
|
),
|
|
]
|
|
|