Nikam -> Nezasílat papírově
This commit is contained in:
parent
4623adb249
commit
fad2a1bc47
2 changed files with 19 additions and 1 deletions
18
seminar/migrations/0111_nikam2nezasilat_papirove.py
Normal file
18
seminar/migrations/0111_nikam2nezasilat_papirove.py
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 2.2.28 on 2023-01-30 19:14
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('seminar', '0110_resitel_prezdivka'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='resitel',
|
||||||
|
name='zasilat',
|
||||||
|
field=models.CharField(choices=[('domu', 'Domů'), ('do_skoly', 'Do školy'), ('nikam', 'Nezasílat papírově')], default='domu', max_length=32, verbose_name='kam zasílat'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -229,7 +229,7 @@ class Resitel(SeminarModelBase):
|
||||||
ZASILAT_CHOICES = [
|
ZASILAT_CHOICES = [
|
||||||
(ZASILAT_DOMU, 'Domů'),
|
(ZASILAT_DOMU, 'Domů'),
|
||||||
(ZASILAT_DO_SKOLY, 'Do školy'),
|
(ZASILAT_DO_SKOLY, 'Do školy'),
|
||||||
(ZASILAT_NIKAM, 'Nikam'),
|
(ZASILAT_NIKAM, 'Nezasílat papírově'),
|
||||||
]
|
]
|
||||||
|
|
||||||
zasilat = models.CharField('kam zasílat', max_length=32, choices=ZASILAT_CHOICES, blank=False, default=ZASILAT_DOMU)
|
zasilat = models.CharField('kam zasílat', max_length=32, choices=ZASILAT_CHOICES, blank=False, default=ZASILAT_DOMU)
|
||||||
|
|
Loading…
Reference in a new issue