1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
theorangeone.net-legacy/project/pages/migrations/0001_initial.py

47 lines
1.7 KiB
Python
Raw Normal View History

2016-11-24 21:44:08 +00:00
# -*- coding: utf-8 -*-
2016-11-28 21:56:44 +00:00
# Generated by Django 1.10.3 on 2016-11-28 21:53
2016-11-24 21:44:08 +00:00
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import wagtail.wagtailcore.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
('wagtailcore', '0030_index_on_pagerevision_created_at'),
]
operations = [
migrations.CreateModel(
name='SectionIndexPage',
fields=[
('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.Page')),
2016-11-28 21:56:44 +00:00
('created', models.DateTimeField(auto_now_add=True)),
('modified', models.DateTimeField(auto_now=True)),
2016-11-24 21:44:08 +00:00
('intro', wagtail.wagtailcore.fields.RichTextField(blank=True)),
('hide_list', models.BooleanField(default=False)),
2016-11-24 21:44:08 +00:00
],
options={
'abstract': False,
},
bases=('wagtailcore.page',),
),
2016-11-28 21:36:11 +00:00
migrations.CreateModel(
name='SimpleContentPage',
fields=[
('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.Page')),
2016-11-28 21:56:44 +00:00
('created', models.DateTimeField(auto_now_add=True)),
('modified', models.DateTimeField(auto_now=True)),
2016-11-28 21:36:11 +00:00
('body', wagtail.wagtailcore.fields.RichTextField()),
],
options={
'abstract': False,
},
bases=('wagtailcore.page',),
),
2016-11-24 21:44:08 +00:00
]