diff news/migrations/0002_auto_20151117_2029.py @ 997:19b86e684cc2

WIP on news v2.0. Initial model changes and submit news functions.
author Brian Neal <bgneal@gmail.com>
date Tue, 17 Nov 2015 21:01:20 -0600
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/news/migrations/0002_auto_20151117_2029.py	Tue Nov 17 21:01:20 2015 -0600
@@ -0,0 +1,70 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import models, migrations
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('news', '0001_initial'),
+    ]
+
+    operations = [
+        migrations.AlterModelOptions(
+            name='pendingstory',
+            options={'ordering': ['-date_submitted'], 'verbose_name_plural': 'Pending Stories'},
+        ),
+        migrations.AlterModelOptions(
+            name='story',
+            options={'ordering': ['-date_submitted'], 'verbose_name': 'news story', 'verbose_name_plural': 'news stories'},
+        ),
+        migrations.AddField(
+            model_name='pendingstory',
+            name='admin_content',
+            field=models.TextField(default=b'', blank=True),
+            preserve_default=True,
+        ),
+        migrations.AddField(
+            model_name='pendingstory',
+            name='long_markup',
+            field=models.TextField(default=b'', blank=True),
+            preserve_default=True,
+        ),
+        migrations.AddField(
+            model_name='pendingstory',
+            name='short_markup',
+            field=models.TextField(default=b''),
+            preserve_default=True,
+        ),
+        migrations.AddField(
+            model_name='pendingstory',
+            name='version',
+            field=models.SmallIntegerField(default=0),
+            preserve_default=False,
+        ),
+        migrations.AddField(
+            model_name='story',
+            name='admin_content',
+            field=models.TextField(default=b'', blank=True),
+            preserve_default=True,
+        ),
+        migrations.AddField(
+            model_name='story',
+            name='long_markup',
+            field=models.TextField(default=b'', blank=True),
+            preserve_default=True,
+        ),
+        migrations.AddField(
+            model_name='story',
+            name='short_markup',
+            field=models.TextField(default=b''),
+            preserve_default=True,
+        ),
+        migrations.AddField(
+            model_name='story',
+            name='version',
+            field=models.SmallIntegerField(default=0),
+            preserve_default=False,
+        ),
+    ]