annotate news/migrations/0006_category_forum_slug.py @ 1160:b84ce2d7e93d
New template for displaying django messages.
New common template for rendering django messages in the new V3 Foundation
style.
author |
Brian Neal <bgneal@gmail.com> |
date |
Tue, 24 Jan 2017 19:22:29 -0600 |
parents |
c6c3ba5cf6eb |
children |
|
rev |
line source |
bgneal@1001
|
1 # -*- coding: utf-8 -*-
|
bgneal@1001
|
2 from __future__ import unicode_literals
|
bgneal@1001
|
3
|
bgneal@1001
|
4 from django.db import models, migrations
|
bgneal@1001
|
5
|
bgneal@1001
|
6
|
bgneal@1001
|
7 class Migration(migrations.Migration):
|
bgneal@1001
|
8
|
bgneal@1001
|
9 dependencies = [
|
bgneal@1001
|
10 ('news', '0005_auto_20151121_1445'),
|
bgneal@1001
|
11 ]
|
bgneal@1001
|
12
|
bgneal@1001
|
13 operations = [
|
bgneal@1001
|
14 migrations.AddField(
|
bgneal@1001
|
15 model_name='category',
|
bgneal@1001
|
16 name='forum_slug',
|
bgneal@1001
|
17 field=models.CharField(default=b'', help_text=b'Identifies the forum to create comment threads in for stories in this category', max_length=80, blank=True),
|
bgneal@1001
|
18 preserve_default=True,
|
bgneal@1001
|
19 ),
|
bgneal@1001
|
20 ]
|