82 lines
3.5 KiB
Python
82 lines
3.5 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.9.4 on 2017-10-18 13:40
|
|
from __future__ import unicode_literals
|
|
|
|
import django.db.models.deletion
|
|
import djangocms_text_ckeditor.fields
|
|
import filer.fields.image
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('cms', '0014_auto_20160404_1908'),
|
|
('filer', '0004_auto_20160328_1434'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Service',
|
|
fields=[
|
|
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='cms.CMSPlugin')),
|
|
('title', models.CharField(max_length=200)),
|
|
('sub_title', models.CharField(max_length=200)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
bases=('cms.cmsplugin',),
|
|
),
|
|
migrations.CreateModel(
|
|
name='ServiceItem',
|
|
fields=[
|
|
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='cms.CMSPlugin')),
|
|
('title', models.CharField(max_length=200)),
|
|
('description', djangocms_text_ckeditor.fields.HTMLField()),
|
|
('glasfaser_service', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ungleich_page.Service')),
|
|
('image', filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='service_item_image', to='filer.Image')),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
bases=('cms.cmsplugin',),
|
|
),
|
|
migrations.CreateModel(
|
|
name='UngelichContactUsSection',
|
|
fields=[
|
|
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='cms.CMSPlugin')),
|
|
('email', models.EmailField(max_length=200)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
bases=('cms.cmsplugin',),
|
|
),
|
|
migrations.CreateModel(
|
|
name='UngelichPicture',
|
|
fields=[
|
|
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='cms.CMSPlugin')),
|
|
('title', models.CharField(max_length=200)),
|
|
('image', filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='image', to='filer.Image')),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
bases=('cms.cmsplugin',),
|
|
),
|
|
migrations.CreateModel(
|
|
name='UngelichTextSection',
|
|
fields=[
|
|
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='cms.CMSPlugin')),
|
|
('title', models.CharField(max_length=200)),
|
|
('description', djangocms_text_ckeditor.fields.HTMLField()),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
bases=('cms.cmsplugin',),
|
|
),
|
|
]
|