Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.5 KiB
71 lines
2.5 KiB
6 years ago
|
# Generated by Django 1.11.20 on 2019-04-30 21:40
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import galerie.models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('galerie', '0007_obrazek_odstranen_datum'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AlterField(
|
||
|
model_name='galerie',
|
||
|
name='datum_vytvoreni',
|
||
|
field=models.DateTimeField(auto_now_add=True, verbose_name='Datum vytvoření'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='galerie',
|
||
|
name='datum_zmeny',
|
||
|
field=models.DateTimeField(auto_now=True, verbose_name='Datum poslední změny'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='galerie',
|
||
|
name='nazev',
|
||
|
field=models.CharField(max_length=100, verbose_name='Název'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='galerie',
|
||
|
name='popis',
|
||
|
field=models.TextField(blank=True, null=True, verbose_name='Popis'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='galerie',
|
||
|
name='poradi',
|
||
|
field=models.IntegerField(blank=True, null=True, verbose_name='Pořadí'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='galerie',
|
||
|
name='zobrazit',
|
||
|
field=models.IntegerField(choices=[(0, 'Vždy'), (1, 'Organizátorům'), (2, 'Nikdy')], default=1, verbose_name='Zobrazit?'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='obrazek',
|
||
|
name='datum_vlozeni',
|
||
|
field=models.DateTimeField(auto_now_add=True, verbose_name='Datum vložení'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='obrazek',
|
||
|
name='nazev',
|
||
|
field=models.CharField(blank=True, max_length=50, null=True, verbose_name='Název'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='obrazek',
|
||
|
name='obrazek_velky',
|
||
|
field=models.ImageField(help_text='Lze vložit libovolně velký obrázek. Ideální je, aby alespoň jeden rozměr měl alespoň 500px.', upload_to=galerie.models.obrazek_filename),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='obrazek',
|
||
|
name='popis',
|
||
|
field=models.TextField(blank=True, null=True, verbose_name='Popis'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='obrazek',
|
||
|
name='poradi',
|
||
|
field=models.IntegerField(blank=True, null=True, verbose_name='Pořadí'),
|
||
|
),
|
||
|
]
|