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
parent 1a207a47fe
commit b55a36e8cb
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)), ('datum', models.DateField(auto_now_add=True)),
('text', models.TextField(null=True, verbose_name=b'Text novinky', blank=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)), ('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)), ('autor', models.ForeignKey(verbose_name=b'Autor novinky', to=settings.AUTH_USER_MODEL)),
], ],
options={ options={

View file

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