mamweb/galerie/migrations/0003_add_galerie_poradi.py

39 lines
1.4 KiB
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import galerie.models
class Migration(migrations.Migration):
dependencies = [
('galerie', '0002_auto_20151013_1145'),
]
operations = [
migrations.AddField(
model_name='galerie',
name='poradi',
field=models.IntegerField(null=True, verbose_name=b'Po\xc5\x99ad\xc3\xad', blank=True),
preserve_default=True,
),
migrations.AlterField(
model_name='obrazek',
name='obrazek_maly',
field=models.ImageField(upload_to=galerie.models.obrazek_filename_maly, null=True, editable=False),
preserve_default=True,
),
migrations.AlterField(
model_name='obrazek',
name='obrazek_stredni',
field=models.ImageField(upload_to=galerie.models.obrazek_filename_stredni, null=True, editable=False),
preserve_default=True,
),
migrations.AlterField(
model_name='obrazek',
name='obrazek_velky',
field=models.ImageField(help_text=b'Lze vlo\xc5\xbeit libovoln\xc4\x9b velk\xc3\xbd obr\xc3\xa1zek. Ide\xc3\xa1ln\xc3\xad je, aby alespo\xc5\x88 jeden rozm\xc4\x9br m\xc4\x9bl alespo\xc5\x88 500px.', upload_to=galerie.models.obrazek_filename),
preserve_default=True,
),
]