# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2018-02-06 01:53
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import djangocms_text_ckeditor.fields
import filer.fields.folder
import filer.fields.image
import fontawesome.fields
import parler.models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('cms', '0018_pagenode'),
        migrations.swappable_dependency(settings.FILER_IMAGE_MODEL),
        ('filer', '0007_auto_20161016_1055'),
    ]

    operations = [
        migrations.CreateModel(
            name='DownloadSection',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_downloadsection', serialize=False, to='cms.CMSPlugin')),
            ],
            options={
                'verbose_name': 'Download Section',
                'verbose_name_plural': 'Download Sections',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='DownloadSectionFolder',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ordering', models.IntegerField(default=5, verbose_name='Sortierung')),
                ('download_section', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='folders', to='project.DownloadSection', verbose_name='Download Section')),
                ('folder', filer.fields.folder.FilerFolderField(on_delete=django.db.models.deletion.CASCADE, to='filer.Folder', verbose_name='Ordner')),
            ],
            options={
                'ordering': ['ordering'],
            },
        ),
        migrations.CreateModel(
            name='HighlightList',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_highlightlist', serialize=False, to='cms.CMSPlugin')),
                ('full_width', models.BooleanField(default=False, verbose_name='Volle Breite')),
            ],
            options={
                'verbose_name': 'Highlight List',
                'verbose_name_plural': 'Highlight Lists',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='HighlightListItem',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_highlightlistitem', serialize=False, to='cms.CMSPlugin')),
                ('icon', fontawesome.fields.IconField(blank=True, max_length=60, null=True, verbose_name='Icon')),
                ('animated_icon', models.CharField(blank=True, choices=[('strength', 'Stärken'), ('learning', 'Lernen'), ('creativity', 'Kreativität'), ('curiosity', 'Neugierde'), ('education', 'Bildung'), ('happiness', 'Glücklichkeit')], max_length=256, null=True, verbose_name='Animiertes Icon')),
                ('title', djangocms_text_ckeditor.fields.HTMLField(verbose_name='Titel')),
                ('text', djangocms_text_ckeditor.fields.HTMLField(verbose_name='Text')),
            ],
            options={
                'verbose_name': 'Highlight List Item',
                'verbose_name_plural': 'Highlight List Items',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='ImageExtension',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('extended_object', models.OneToOneField(editable=False, on_delete=django.db.models.deletion.CASCADE, to='cms.Page')),
                ('image', filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.FILER_IMAGE_MODEL, verbose_name='Bild')),
                ('public_extension', models.OneToOneField(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='draft_extension', to='project.ImageExtension')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Partner',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_partner', serialize=False, to='cms.CMSPlugin')),
                ('name', djangocms_text_ckeditor.fields.HTMLField(verbose_name='Titel')),
                ('text', djangocms_text_ckeditor.fields.HTMLField(blank=True, null=True, verbose_name='Text')),
                ('url', models.URLField(blank=True, null=True, verbose_name='URL')),
                ('logo', filer.fields.image.FilerImageField(on_delete=django.db.models.deletion.CASCADE, to=settings.FILER_IMAGE_MODEL, verbose_name='Bild')),
            ],
            options={
                'verbose_name': 'Slider Item',
                'verbose_name_plural': 'Slider Items',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='Quote',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_quote', serialize=False, to='cms.CMSPlugin')),
                ('content', djangocms_text_ckeditor.fields.HTMLField(verbose_name='Inhalt')),
                ('source', djangocms_text_ckeditor.fields.HTMLField(verbose_name='Quelle')),
                ('image', filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.FILER_IMAGE_MODEL, verbose_name='Bild')),
            ],
            options={
                'verbose_name': 'Quote',
                'verbose_name_plural': 'Quotes',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='ReferenceListItem',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_referencelistitem', serialize=False, to='cms.CMSPlugin')),
                ('vimeo_id', models.IntegerField(help_text='e.g. https://vimeo.com/<b>131766159</b>', verbose_name='Vimeo ID')),
                ('thumbnail', filer.fields.image.FilerImageField(on_delete=django.db.models.deletion.CASCADE, to=settings.FILER_IMAGE_MODEL, verbose_name='Vorschaubild')),
            ],
            options={
                'verbose_name': 'Reference List Item',
                'verbose_name_plural': 'Reference List Items',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='Section',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_section', serialize=False, to='cms.CMSPlugin')),
                ('title', djangocms_text_ckeditor.fields.HTMLField(verbose_name='Titel')),
            ],
            options={
                'verbose_name': 'Section',
                'verbose_name_plural': 'Sections',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='SectionText',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_sectiontext', serialize=False, to='cms.CMSPlugin')),
                ('columns', models.BooleanField(default=False, verbose_name='Spalten')),
            ],
            options={
                'verbose_name': 'Section Text',
                'verbose_name_plural': 'Section Texts',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='SliderItem',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_slideritem', serialize=False, to='cms.CMSPlugin')),
                ('title', djangocms_text_ckeditor.fields.HTMLField(verbose_name='Titel')),
                ('subline', djangocms_text_ckeditor.fields.HTMLField(blank=True, null=True, verbose_name='Untertitel')),
                ('text', djangocms_text_ckeditor.fields.HTMLField(blank=True, null=True, verbose_name='Text')),
                ('email', models.EmailField(blank=True, max_length=254, null=True, verbose_name='E-Mail')),
                ('image', filer.fields.image.FilerImageField(on_delete=django.db.models.deletion.CASCADE, to=settings.FILER_IMAGE_MODEL, verbose_name='Bild')),
            ],
            options={
                'verbose_name': 'Slider Item',
                'verbose_name_plural': 'Slider Items',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='SliderItemQualification',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ordering', models.IntegerField(default=5, verbose_name='Sortierung')),
            ],
            options={
                'ordering': ['ordering'],
            },
            bases=(parler.models.TranslatableModelMixin, models.Model),
        ),
        migrations.CreateModel(
            name='SliderItemQualificationTranslation',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')),
                ('name', models.CharField(max_length=256, verbose_name='name')),
                ('master', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='project.SliderItemQualification')),
            ],
            options={
                'db_table': 'project_slideritemqualification_translation',
                'default_permissions': (),
                'managed': True,
                'verbose_name': 'slider item qualification Translation',
                'db_tablespace': '',
            },
        ),
        migrations.CreateModel(
            name='SocialMediaList',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_socialmedialist', serialize=False, to='cms.CMSPlugin')),
            ],
            options={
                'verbose_name': 'Social Media List',
                'verbose_name_plural': 'Social Media Lists',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='SocialMediaListItem',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('icon', fontawesome.fields.IconField(blank=True, max_length=60, verbose_name='Icon')),
                ('url', models.URLField(verbose_name='URL')),
                ('ordering', models.IntegerField(default=5, verbose_name='Sortierung')),
                ('social_media_list', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='social_media_list_items', to='project.SocialMediaList', verbose_name='Social Media List')),
            ],
            options={
                'ordering': ['ordering'],
            },
        ),
        migrations.CreateModel(
            name='TextSliderItem',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_textslideritem', serialize=False, to='cms.CMSPlugin')),
                ('text', djangocms_text_ckeditor.fields.HTMLField(verbose_name='Text')),
            ],
            options={
                'verbose_name': 'Text Slider Item',
                'verbose_name_plural': 'Text Slider Items',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='Timetable',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_timetable', serialize=False, to='cms.CMSPlugin')),
                ('introduction', djangocms_text_ckeditor.fields.HTMLField(verbose_name='Einleitung')),
                ('start_image', filer.fields.image.FilerImageField(on_delete=django.db.models.deletion.CASCADE, to=settings.FILER_IMAGE_MODEL, verbose_name='Startbild')),
            ],
            options={
                'verbose_name': 'Timetable',
                'verbose_name_plural': 'Timetables',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='TimetableItem',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_timetableitem', serialize=False, to='cms.CMSPlugin')),
                ('time', models.TimeField(verbose_name='Zeit')),
                ('title', djangocms_text_ckeditor.fields.HTMLField(verbose_name='Titel')),
                ('text', djangocms_text_ckeditor.fields.HTMLField(verbose_name='Text')),
                ('image', filer.fields.image.FilerImageField(on_delete=django.db.models.deletion.CASCADE, to=settings.FILER_IMAGE_MODEL, verbose_name='Bild')),
            ],
            options={
                'verbose_name': 'Timetable Item',
                'verbose_name_plural': 'Timetables Items',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='Video',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_video', serialize=False, to='cms.CMSPlugin')),
                ('vimeo_id', models.IntegerField(help_text='e.g. https://vimeo.com/<b>131766159</b>', verbose_name='Vimeo ID')),
                ('thumbnail', filer.fields.image.FilerImageField(on_delete=django.db.models.deletion.CASCADE, to=settings.FILER_IMAGE_MODEL, verbose_name='Vorschaubild')),
            ],
            options={
                'verbose_name': 'Video',
                'verbose_name_plural': 'Videos',
                'abstract': False,
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.AddField(
            model_name='slideritem',
            name='qualifications',
            field=models.ManyToManyField(blank=True, null=True, to='project.SliderItemQualification', verbose_name='Qualifikationen'),
        ),
        migrations.AlterUniqueTogether(
            name='slideritemqualificationtranslation',
            unique_together=set([('language_code', 'master')]),
        ),
    ]
