add migration for feed cell

This commit is contained in:
Frédéric Péters 2015-08-25 16:01:28 +02:00
parent cfbf3bf6a7
commit cb8e5e0694
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('auth', '0001_initial'),
('data', '0009_auto_20150529_2247'),
]
operations = [
migrations.CreateModel(
name='FeedCell',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('placeholder', models.CharField(max_length=20)),
('order', models.PositiveIntegerField()),
('slug', models.SlugField(verbose_name='Slug', blank=True)),
('public', models.BooleanField(default=True, verbose_name='Public')),
('url', models.URLField(verbose_name='URL', blank=True)),
('groups', models.ManyToManyField(to='auth.Group', verbose_name='Groups', blank=True)),
('page', models.ForeignKey(to='data.Page')),
],
options={
'verbose_name': 'RSS/Atom Feed',
},
bases=(models.Model,),
),
]