# -*- coding: utf-8 -*-
# Generated by Django 1.9.8 on 2017-02-21 09:11
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion
import filer.fields.folder
import image_cropping.fields


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('filer', '0006_auto_20160623_1627'),
    ]

    operations = [
        migrations.CreateModel(
            name='Blog',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=100, verbose_name='Titolo')),
                ('title_uk', models.CharField(max_length=100, verbose_name='Titolo UK')),
                ('image', models.ImageField(blank=True, null=True, upload_to='slider')),
                ('body', models.TextField(blank=True, null=True, verbose_name='Descrizione')),
                ('body_uk', models.TextField(blank=True, null=True, verbose_name='Descrizione UK')),
                ('link', models.TextField(blank=True, null=True)),
                ('slider', image_cropping.fields.ImageRatioField('image', '1000x300', adapt_rotation=False, allow_fullsize=False, free_crop=False, help_text=None, hide_image_field=False, size_warning=True, verbose_name='Gallery in Home')),
                ('video', models.TextField(blank=True, null=True, verbose_name='Video')),
                ('pub_date', models.DateTimeField(verbose_name='date published')),
                ('active', models.BooleanField(default=False, verbose_name='attiva')),
                ('chiavi', models.TextField(blank=True, null=True, verbose_name='Parole Chiave')),
                ('album', filer.fields.folder.FilerFolderField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='filer.Folder')),
            ],
            options={
                'ordering': ['id'],
                'verbose_name_plural': 'Blog',
            },
        ),
    ]
