]> git.0d.be Git - django-panik-combo.git/blob - panikombo/migrations/0008_topikcell.py
042d151e1eb90a2dc5536296726381a5f7a6acce
[django-panik-combo.git] / panikombo / migrations / 0008_topikcell.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import models, migrations
5 import ckeditor.fields
6
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         ('auth', '0001_initial'),
12         ('data', '0009_auto_20150529_2247'),
13         ('panikombo', '0007_newsitemautoselectioncell_category'),
14     ]
15
16     operations = [
17         migrations.CreateModel(
18             name='TopikCell',
19             fields=[
20                 (
21                     'id',
22                     models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True),
23                 ),
24                 ('placeholder', models.CharField(max_length=20)),
25                 ('order', models.PositiveIntegerField()),
26                 ('slug', models.SlugField(verbose_name='Slug', blank=True)),
27                 ('public', models.BooleanField(default=True, verbose_name='Public')),
28                 ('text', ckeditor.fields.RichTextField(null=True, verbose_name='Text', blank=True)),
29                 ('groups', models.ManyToManyField(to='auth.Group', verbose_name='Groups', blank=True)),
30                 ('page', models.ForeignKey(to='data.Page')),
31                 ('topik', models.ForeignKey(to='panikombo.Topik', null=True)),
32             ],
33             options={
34                 'verbose_name': 'Topik',
35             },
36             bases=(models.Model,),
37         ),
38     ]