class Migration(migrations.Migration): dependencies = [ ('images', '0005_upgrade_to_wagtail17_schema'), ] forward, reverse = get_fill_filter_spec_migrations('images', 'WagtailIORendition') operations = [ migrations.RunPython(forward, reverse), ]
class Migration(migrations.Migration): dependencies = [ ('home', '0013_auto_20170118_1232'), ] forward, reverse = get_fill_filter_spec_migrations('home', 'CustomRendition') operations = [ migrations.RunPython(forward, reverse), ]
class Migration(migrations.Migration): dependencies = [ ('wagtailimages', '0014_add_filter_spec_field'), ] forward, reverse = get_fill_filter_spec_migrations('wagtailimages', 'Rendition') operations = [ migrations.RunPython(forward, reverse), ]
class Migration(migrations.Migration): dependencies = [ ("wagtailimages", "0014_add_filter_spec_field"), ] forward, reverse = get_fill_filter_spec_migrations("wagtailimages", "Rendition") operations = [ migrations.RunPython(forward, reverse), ]
class Migration(migrations.Migration): dependencies = [ ('images', '0005_auto_20161108_2120'), ] forward, reverse = get_fill_filter_spec_migrations('images', 'AttributedRendition') operations = [ migrations.RunPython(forward, reverse), ]
class Migration(migrations.Migration): dependencies = [ ('torchbox', '0085_add_filter_spec_field'), ] forward, reverse = get_fill_filter_spec_migrations('torchbox', 'TorchboxRendition') operations = [ migrations.RunPython(forward, reverse), ]
class Migration(migrations.Migration): dependencies = [ ('wagtailimages', '0014_add_filter_spec_field'), ] forward, reverse = get_fill_filter_spec_migrations('wagtailimages', 'Rendition') forward2, reverse2 = get_fill_filter_spec_migrations( 'wagtailimages', 'UserRendition') operations = [ migrations.RunPython(forward, reverse), migrations.RunPython(forward2, reverse2), migrations.AlterField( model_name='rendition', name='filter_spec', field=models.CharField(db_index=True, max_length=255), ), migrations.AlterField( model_name='userrendition', name='filter_spec', field=models.CharField(db_index=True, max_length=255), ), ]
class Migration(migrations.Migration): dependencies = [ ('images', '0001_initial'), ] forward, reverse = get_fill_filter_spec_migrations('images', 'CustomRendition') operations = [ migrations.AlterUniqueTogether( name='customrendition', unique_together=set([('image', 'filter_spec', 'focal_point_key')]), ), migrations.RunPython(forward, reverse), ]
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models from wagtail.images.utils import get_fill_filter_spec_migrations forward, reverse = get_fill_filter_spec_migrations('images', 'IETFRendition') class Migration(migrations.Migration): dependencies = [ ('images', '0005_wagtail_1_7'), ] operations = [ migrations.RunPython(forward, reverse), ]