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/home/migrations/0001_initial.py
2016-12-15 22:11:51 +00:00

35 lines
1.3 KiB
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2016-12-15 22:11
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import wagtail.wagtailcore.fields
import wagtailmetadata.models
class Migration(migrations.Migration):
initial = True
dependencies = [
('wagtailimages', '0015_fill_filter_spec_field'),
('wagtailcore', '0030_index_on_pagerevision_created_at'),
]
operations = [
migrations.CreateModel(
name='HomePage',
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')),
('created', models.DateTimeField(auto_now_add=True)),
('modified', models.DateTimeField(auto_now=True)),
('body', wagtail.wagtailcore.fields.RichTextField(blank=True)),
('search_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image')),
],
options={
'abstract': False,
},
bases=(wagtailmetadata.models.MetadataMixin, 'wagtailcore.page', models.Model),
),
]