1 # -*- coding: utf-8 -*-
2 # Generated by Django 1.10.7 on 2017-06-22 09:39
3 from __future__ import unicode_literals
5 from django.db import migrations, models
6 import django.db.models.deletion
9 class Migration(migrations.Migration):
17 migrations.CreateModel(
20 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
21 ('title', models.CharField(max_length=150)),
22 ('slug', models.SlugField()),
23 ('content', models.TextField()),
26 migrations.CreateModel(
29 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
30 ('title', models.CharField(max_length=150)),
31 ('islive', models.BooleanField(default=False)),
32 ('format', models.CharField(choices=[(b'rst', b'reStructuredText'), (b'html', b'HTML')], max_length=10)),
33 ('slug', models.SlugField()),
34 ('content', models.TextField()),
35 ('extracss', models.ManyToManyField(blank=True, null=True, to='bpcms.CSSDocument')),
38 'ordering': ['folder'],
41 migrations.CreateModel(
44 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
45 ('title', models.CharField(max_length=150)),
46 ('slug', models.SlugField()),
47 ('parent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='bpcms.Folder')),
51 model_name='document',
53 field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='bpcms.Folder'),