Oprava drobných chybiček při migracích
This commit is contained in:
parent
e569346274
commit
9a20fc7c79
2 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
from .base import *
|
||||
from .pomocne import *
|
||||
from .novinky import *
|
||||
from .nastaveni import *
|
||||
|
|
|
@ -45,7 +45,7 @@ class Migration(migrations.Migration):
|
|||
name='Deadline',
|
||||
fields=[
|
||||
('id', models.AutoField(primary_key=True, serialize=False)),
|
||||
('deadline', models.DateTimeField(default=datetime.datetime(2023, 8, 9, 21, 59, 59, 999999, tzinfo=utc))),
|
||||
('deadline', models.DateTimeField(default=django.utils.timezone.make_aware(datetime.datetime.combine(django.utils.timezone.now(), datetime.time.max)))),
|
||||
('typ', models.CharField(choices=[('cisla', 'Deadline celého čísla'), ('prvni', 'První deadline'), ('prvniasous', 'Sousový a první deadline'), ('sous', 'Sousový deadline')], max_length=32, verbose_name='typ deadlinu')),
|
||||
('verejna_vysledkovka', models.BooleanField(db_column='verejna_vysledkovka', default=False, verbose_name='veřejná výsledkovka')),
|
||||
('cislo', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='deadline_v_cisle', to='tvorba.Cislo', verbose_name='deadline v čísle')),
|
||||
|
|
Loading…
Reference in a new issue