Mercurial > public > sg101
diff gpp/news/forms.py @ 218:6dbb8faef085
Implement #86, add a front page expiration date to news stories.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 01 Jun 2010 05:16:40 +0000 |
parents | ca66189c7c44 |
children | 1246a4f1ab4f |
line wrap: on
line diff
--- a/gpp/news/forms.py Tue Jun 01 04:49:29 2010 +0000 +++ b/gpp/news/forms.py Tue Jun 01 05:16:40 2010 +0000 @@ -17,7 +17,7 @@ class Meta: model = PendingStory - exclude = ('submitter', 'date_submitted', 'allow_comments', 'approved', 'tags') + fields = ('title', 'category', 'short_text', 'long_text') class Media: js = settings.GPP_THIRD_PARTY_JS['tiny_mce']