Browse Source
místo vlastních funkcí volaných v save() * migrace seminar i galerie * miniatury (a "střední velikosti") se nyní vytvářejí podle potřeby v media/CACHEremotes/origin/imagekit
Matěj Kocián
9 years ago
6 changed files with 85 additions and 134 deletions
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('galerie', '0005_obrazek_ordering_datum'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RemoveField( |
|||
model_name='obrazek', |
|||
name='obrazek_maly', |
|||
), |
|||
migrations.RemoveField( |
|||
model_name='obrazek', |
|||
name='obrazek_stredni', |
|||
), |
|||
] |
@ -0,0 +1,25 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
import imagekit.models.fields |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('seminar', '0034_reseni_forma_default_email'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RemoveField( |
|||
model_name='organizator', |
|||
name='foto_male', |
|||
), |
|||
migrations.AlterField( |
|||
model_name='organizator', |
|||
name='foto', |
|||
field=imagekit.models.fields.ProcessedImageField(help_text=b'Vlo\xc5\xbe fotografii organiz\xc3\xa1tora o libovoln\xc3\xa9 velikosti', upload_to=b'image_organizatori/velke/%Y/', null=True, verbose_name=b'Fotografie organiz\xc3\xa1tora', blank=True), |
|||
preserve_default=True, |
|||
), |
|||
] |
Loading…
Reference in new issue