comparison 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
comparison
equal deleted inserted replaced
996:ec28e9d1e82a 997:19b86e684cc2
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import models, migrations
5
6
7 class Migration(migrations.Migration):
8
9 dependencies = [
10 ('news', '0001_initial'),
11 ]
12
13 operations = [
14 migrations.AlterModelOptions(
15 name='pendingstory',
16 options={'ordering': ['-date_submitted'], 'verbose_name_plural': 'Pending Stories'},
17 ),
18 migrations.AlterModelOptions(
19 name='story',
20 options={'ordering': ['-date_submitted'], 'verbose_name': 'news story', 'verbose_name_plural': 'news stories'},
21 ),
22 migrations.AddField(
23 model_name='pendingstory',
24 name='admin_content',
25 field=models.TextField(default=b'', blank=True),
26 preserve_default=True,
27 ),
28 migrations.AddField(
29 model_name='pendingstory',
30 name='long_markup',
31 field=models.TextField(default=b'', blank=True),
32 preserve_default=True,
33 ),
34 migrations.AddField(
35 model_name='pendingstory',
36 name='short_markup',
37 field=models.TextField(default=b''),
38 preserve_default=True,
39 ),
40 migrations.AddField(
41 model_name='pendingstory',
42 name='version',
43 field=models.SmallIntegerField(default=0),
44 preserve_default=False,
45 ),
46 migrations.AddField(
47 model_name='story',
48 name='admin_content',
49 field=models.TextField(default=b'', blank=True),
50 preserve_default=True,
51 ),
52 migrations.AddField(
53 model_name='story',
54 name='long_markup',
55 field=models.TextField(default=b'', blank=True),
56 preserve_default=True,
57 ),
58 migrations.AddField(
59 model_name='story',
60 name='short_markup',
61 field=models.TextField(default=b''),
62 preserve_default=True,
63 ),
64 migrations.AddField(
65 model_name='story',
66 name='version',
67 field=models.SmallIntegerField(default=0),
68 preserve_default=False,
69 ),
70 ]