Add migrations
This commit is contained in:
parent
e9142b17ae
commit
36a9c386cb
2 changed files with 50 additions and 0 deletions
29
ungleich_page/migrations/0003_ungelichtextsection.py
Normal file
29
ungleich_page/migrations/0003_ungelichtextsection.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.4 on 2017-10-17 14:47
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('cms', '0014_auto_20160404_1908'),
|
||||
('ungleich_page', '0002_ungelichcontactussection'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
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', models.TextField()),
|
||||
],
|
||||
options={
|
||||
'abstract': False,
|
||||
},
|
||||
bases=('cms.cmsplugin',),
|
||||
),
|
||||
]
|
21
ungleich_page/migrations/0004_auto_20171017_1519.py
Normal file
21
ungleich_page/migrations/0004_auto_20171017_1519.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.4 on 2017-10-17 15:19
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import djangocms_text_ckeditor.fields
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('ungleich_page', '0003_ungelichtextsection'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='ungelichtextsection',
|
||||
name='description',
|
||||
field=djangocms_text_ckeditor.fields.HTMLField(),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue