diff gpp/news/admin.py @ 462:53fdaf0da539

Adding a priority field to news stories for front page display purposes. This fixes #223.
author Brian Neal <bgneal@gmail.com>
date Tue, 05 Jul 2011 21:40:56 +0000
parents 701730b2fcda
children 7854d75427af
line wrap: on
line diff
--- a/gpp/news/admin.py	Tue Jul 05 19:24:18 2011 +0000
+++ b/gpp/news/admin.py	Tue Jul 05 21:40:56 2011 +0000
@@ -36,7 +36,8 @@
                     date_submitted=pending_story.date_submitted,
                     allow_comments=pending_story.allow_comments,
                     tags=pending_story.tags,
-                    front_page_expiration=pending_story.front_page_expiration)
+                    front_page_expiration=pending_story.front_page_expiration,
+                    priority=pending_story.priority)
             story.save()
             pending_story.delete()