Browse Source

Nikam -> Nezasílat papírově

pull/23/head
Jonas Havelka 2 years ago
parent
commit
fad2a1bc47
  1. 18
      seminar/migrations/0111_nikam2nezasilat_papirove.py
  2. 2
      seminar/models/personalni.py

18
seminar/migrations/0111_nikam2nezasilat_papirove.py

@ -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'),
),
]

2
seminar/models/personalni.py

@ -229,7 +229,7 @@ class Resitel(SeminarModelBase):
ZASILAT_CHOICES = [
(ZASILAT_DOMU, 'Domů'),
(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)

Loading…
Cancel
Save