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

This commit is contained in:
LEdoian 2019-05-11 01:25:27 +02:00 committed by Tomas "Jethro" Pokorny
parent 4771a3a0d3
commit b1a953c9e4
2 changed files with 2 additions and 2 deletions

View file

@ -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={

View file

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