# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2018-02-14 13:48
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('cms', '0018_pagenode'),
        ('project', '0002_auto_20180214_1315'),
    ]

    operations = [
        migrations.CreateModel(
            name='TitleList',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='project_titlelist', serialize=False, to='cms.CMSPlugin')),
            ],
            options={
                'verbose_name_plural': 'Title Lists',
                'abstract': False,
                'verbose_name': 'Title List',
            },
            bases=('cms.cmsplugin',),
        ),
        migrations.CreateModel(
            name='TitleListItem',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(blank=True, max_length=256, null=True, verbose_name='Title')),
                ('text', models.TextField(verbose_name='Text')),
                ('ordering', models.IntegerField(default=5, verbose_name='Sortierung')),
                ('title_list', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='title_list_items', to='project.TitleList', verbose_name='Title List')),
            ],
            options={
                'ordering': ['ordering'],
            },
        ),
    ]
