2017-07-03 15:21:31 +00:00
# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-07-03 15:21
from __future__ import unicode_literals
from django . db import migrations , models
import django . db . models . deletion
2019-05-13 15:11:16 +00:00
import wagtail . core . fields
2017-07-03 15:21:31 +00:00
class Migration ( migrations . Migration ) :
dependencies = [
( ' feedler ' , ' 0001_initial ' ) ,
]
operations = [
migrations . CreateModel (
name = ' FeedPage ' ,
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 ' ) ) ,
2019-05-13 15:11:16 +00:00
( ' intro ' , wagtail . core . fields . RichTextField ( blank = True , default = ' ' ) ) ,
2017-07-03 15:21:31 +00:00
( ' stream ' , models . ForeignKey ( blank = True , null = True , on_delete = django . db . models . deletion . PROTECT , to = ' feedler.Stream ' , verbose_name = ' Filter to stream (optional) ' ) ) ,
] ,
options = {
' verbose_name ' : ' Feeds ' ,
} ,
bases = ( ' wagtailcore.page ' , ) ,
) ,
]