Mercurial > public > sg101
diff gpp/news/admin.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 | 65016249bf35 |
children | 1246a4f1ab4f |
line wrap: on
line diff
--- a/gpp/news/admin.py Tue Jun 01 04:49:29 2010 +0000 +++ b/gpp/news/admin.py Tue Jun 01 05:16:40 2010 +0000 @@ -27,7 +27,8 @@ long_text=pending_story.long_text, date_submitted=datetime.datetime.now(), allow_comments=pending_story.allow_comments, - tags=pending_story.tags) + tags=pending_story.tags, + front_page_expiration=pending_story.front_page_expiration) story.save() pending_story.delete()