annotate news/migrations/0002_auto_20151117_2029.py @ 1107:977e76f7f736

POTD converted to V3 design.
author Brian Neal <bgneal@gmail.com>
date Wed, 06 Jul 2016 21:41:16 -0500
parents 19b86e684cc2
children
rev   line source
bgneal@997 1 # -*- coding: utf-8 -*-
bgneal@997 2 from __future__ import unicode_literals
bgneal@997 3
bgneal@997 4 from django.db import models, migrations
bgneal@997 5
bgneal@997 6
bgneal@997 7 class Migration(migrations.Migration):
bgneal@997 8
bgneal@997 9 dependencies = [
bgneal@997 10 ('news', '0001_initial'),
bgneal@997 11 ]
bgneal@997 12
bgneal@997 13 operations = [
bgneal@997 14 migrations.AlterModelOptions(
bgneal@997 15 name='pendingstory',
bgneal@997 16 options={'ordering': ['-date_submitted'], 'verbose_name_plural': 'Pending Stories'},
bgneal@997 17 ),
bgneal@997 18 migrations.AlterModelOptions(
bgneal@997 19 name='story',
bgneal@997 20 options={'ordering': ['-date_submitted'], 'verbose_name': 'news story', 'verbose_name_plural': 'news stories'},
bgneal@997 21 ),
bgneal@997 22 migrations.AddField(
bgneal@997 23 model_name='pendingstory',
bgneal@997 24 name='admin_content',
bgneal@997 25 field=models.TextField(default=b'', blank=True),
bgneal@997 26 preserve_default=True,
bgneal@997 27 ),
bgneal@997 28 migrations.AddField(
bgneal@997 29 model_name='pendingstory',
bgneal@997 30 name='long_markup',
bgneal@997 31 field=models.TextField(default=b'', blank=True),
bgneal@997 32 preserve_default=True,
bgneal@997 33 ),
bgneal@997 34 migrations.AddField(
bgneal@997 35 model_name='pendingstory',
bgneal@997 36 name='short_markup',
bgneal@997 37 field=models.TextField(default=b''),
bgneal@997 38 preserve_default=True,
bgneal@997 39 ),
bgneal@997 40 migrations.AddField(
bgneal@997 41 model_name='pendingstory',
bgneal@997 42 name='version',
bgneal@997 43 field=models.SmallIntegerField(default=0),
bgneal@997 44 preserve_default=False,
bgneal@997 45 ),
bgneal@997 46 migrations.AddField(
bgneal@997 47 model_name='story',
bgneal@997 48 name='admin_content',
bgneal@997 49 field=models.TextField(default=b'', blank=True),
bgneal@997 50 preserve_default=True,
bgneal@997 51 ),
bgneal@997 52 migrations.AddField(
bgneal@997 53 model_name='story',
bgneal@997 54 name='long_markup',
bgneal@997 55 field=models.TextField(default=b'', blank=True),
bgneal@997 56 preserve_default=True,
bgneal@997 57 ),
bgneal@997 58 migrations.AddField(
bgneal@997 59 model_name='story',
bgneal@997 60 name='short_markup',
bgneal@997 61 field=models.TextField(default=b''),
bgneal@997 62 preserve_default=True,
bgneal@997 63 ),
bgneal@997 64 migrations.AddField(
bgneal@997 65 model_name='story',
bgneal@997 66 name='version',
bgneal@997 67 field=models.SmallIntegerField(default=0),
bgneal@997 68 preserve_default=False,
bgneal@997 69 ),
bgneal@997 70 ]