Mercurial > public > sg101
diff news/migrations/0006_category_forum_slug.py @ 1001:c6c3ba5cf6eb
V2 news stories use forums for comments.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 26 Nov 2015 00:27:42 -0600 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/news/migrations/0006_category_forum_slug.py Thu Nov 26 00:27:42 2015 -0600 @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('news', '0005_auto_20151121_1445'), + ] + + operations = [ + migrations.AddField( + model_name='category', + name='forum_slug', + 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), + preserve_default=True, + ), + ]