Browse Source

Opraveny divné definice BooleanFieldů, na kterých mi něco padalo

export_seznamu_prednasek
LEdoian 6 years ago
committed by Tomas "Jethro" Pokorny
parent
commit
b1a953c9e4
  1. 2
      seminar/migrations/0023_add_novinky.py
  2. 2
      seminar/migrations/0049_auto_20190430_2354.py

2
seminar/migrations/0023_add_novinky.py

@ -20,7 +20,7 @@ class Migration(migrations.Migration):
('datum', models.DateField(auto_now_add=True)),
('text', models.TextField(null=True, verbose_name=b'Text novinky', blank=True)),
('obrazek', models.ImageField(upload_to=b'image_novinky/%Y/%m/%d/', null=True, verbose_name=b'Obr\xc3\xa1zek', blank=True)),
('zverejneno', models.BooleanField(default=b'False', verbose_name=b'Zve\xc5\x99ejn\xc4\x9bno')),
('zverejneno', models.BooleanField(default=False, verbose_name=b'Zve\xc5\x99ejn\xc4\x9bno')),
('autor', models.ForeignKey(verbose_name=b'Autor novinky', to=settings.AUTH_USER_MODEL)),
],
options={

2
seminar/migrations/0049_auto_20190430_2354.py

@ -289,7 +289,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='novinky',
name='zverejneno',
field=models.BooleanField(default='False', verbose_name='Zveřejněno'),
field=models.BooleanField(default=False, verbose_name='Zveřejněno'),
),
migrations.AlterField(
model_name='organizator',

Loading…
Cancel
Save