# -*- coding: utf-8 -*-
# Generated by Django 1.11.11 on 2018-03-23 10:12
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import image_cropping.fields
import project.utils


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.FILER_IMAGE_MODEL),
        ('cms', '0018_pagenode'),
        ('project', '0005_auto_20180322_1612'),
    ]

    operations = [
        migrations.CreateModel(
            name='IntroImage',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_introimage', serialize=False, to='cms.CMSPlugin')),
                ('cropping', image_cropping.fields.ImageRatioField('image', '1000x1000', adapt_rotation=False, allow_fullsize=False, free_crop=True, help_text=None, hide_image_field=False, size_warning=False, verbose_name='cropping')),
                ('image', project.utils.CroppableFilerImageField(on_delete=django.db.models.deletion.CASCADE, to=settings.FILER_IMAGE_MODEL, verbose_name='Bild')),
            ],
            options={
                'abstract': False,
                'verbose_name_plural': 'intro Bilder',
                'verbose_name': 'Intro Bild',
            },
            bases=('cms.cmsplugin',),
        ),
    ]
