Add updated migration file
This commit is contained in:
parent
04e72696f1
commit
621424f182
1 changed files with 39 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Generated by Django 1.9.4 on 2017-10-18 13:40
|
# Generated by Django 1.9.4 on 2017-10-18 14:43
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import django.db.models.deletion
|
import django.db.models.deletion
|
||||||
|
@ -36,8 +36,6 @@ class Migration(migrations.Migration):
|
||||||
('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')),
|
('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)),
|
('title', models.CharField(max_length=200)),
|
||||||
('description', djangocms_text_ckeditor.fields.HTMLField()),
|
('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={
|
options={
|
||||||
'abstract': False,
|
'abstract': False,
|
||||||
|
@ -59,8 +57,7 @@ class Migration(migrations.Migration):
|
||||||
name='UngelichPicture',
|
name='UngelichPicture',
|
||||||
fields=[
|
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')),
|
('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)),
|
('title', models.CharField(max_length=400)),
|
||||||
('image', filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='image', to='filer.Image')),
|
|
||||||
],
|
],
|
||||||
options={
|
options={
|
||||||
'abstract': False,
|
'abstract': False,
|
||||||
|
@ -79,4 +76,41 @@ class Migration(migrations.Migration):
|
||||||
},
|
},
|
||||||
bases=('cms.cmsplugin',),
|
bases=('cms.cmsplugin',),
|
||||||
),
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='About',
|
||||||
|
fields=[
|
||||||
|
('service_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='ungleich_page.Service')),
|
||||||
|
],
|
||||||
|
options={
|
||||||
|
'abstract': False,
|
||||||
|
},
|
||||||
|
bases=('ungleich_page.service',),
|
||||||
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='AboutItem',
|
||||||
|
fields=[
|
||||||
|
('ungelichpicture_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='ungleich_page.UngelichPicture')),
|
||||||
|
('inverted', models.BooleanField(default=False)),
|
||||||
|
('glasfaser_about', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ungleich_page.About')),
|
||||||
|
],
|
||||||
|
options={
|
||||||
|
'abstract': False,
|
||||||
|
},
|
||||||
|
bases=('ungleich_page.ungelichpicture',),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='ungelichpicture',
|
||||||
|
name='image',
|
||||||
|
field=filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='image', to='filer.Image'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='serviceitem',
|
||||||
|
name='glasfaser_service',
|
||||||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ungleich_page.Service'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='serviceitem',
|
||||||
|
name='image',
|
||||||
|
field=filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='service_item_image', to='filer.Image'),
|
||||||
|
),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue