From b1a953c9e4ba96820a120461c42f4e059e803432 Mon Sep 17 00:00:00 2001 From: LEdoian Date: Sat, 11 May 2019 01:25:27 +0200 Subject: [PATCH] =?UTF-8?q?Opraveny=20divn=C3=A9=20definice=20BooleanField?= =?UTF-8?q?=C5=AF,=20na=20kter=C3=BDch=20mi=20n=C4=9Bco=20padalo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/migrations/0023_add_novinky.py | 2 +- seminar/migrations/0049_auto_20190430_2354.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/seminar/migrations/0023_add_novinky.py b/seminar/migrations/0023_add_novinky.py index 3babdc2d..f8f7f960 100644 --- a/seminar/migrations/0023_add_novinky.py +++ b/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={ diff --git a/seminar/migrations/0049_auto_20190430_2354.py b/seminar/migrations/0049_auto_20190430_2354.py index be06dbfa..68040d39 100644 --- a/seminar/migrations/0049_auto_20190430_2354.py +++ b/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',