1 # -*- coding: utf-8 -*-
2 # Generated by Django 1.10.7 on 2017-06-22 09:40
3 from __future__ import unicode_literals
5 from django.db import migrations, models
8 class Migration(migrations.Migration):
16 migrations.CreateModel(
19 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
20 ('title', models.CharField(max_length=150)),
21 ('islive', models.BooleanField(default=False)),
22 ('format', models.CharField(choices=[(b'rst', b'reStructuredText'), (b'html', b'HTML')], max_length=10)),
23 ('slug', models.SlugField()),
24 ('publish_date', models.DateTimeField()),
25 ('content', models.TextField()),
28 'ordering': ['-publish_date'],
31 migrations.CreateModel(
34 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
35 ('title', models.CharField(max_length=150)),
36 ('slug', models.SlugField()),
40 model_name='blogentry',
42 field=models.ManyToManyField(to='blog.BlogSection'),