Opraveny divné definice BooleanFieldů, na kterých mi něco padalo
This commit is contained in:
parent
4771a3a0d3
commit
b1a953c9e4
2 changed files with 2 additions and 2 deletions
|
@ -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={
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue