diff news/admin.py @ 1005:9fc12bbc8c81

Tweaks for news v2.0 with old news pending stories present.
author Brian Neal <bgneal@gmail.com>
date Thu, 26 Nov 2015 23:16:07 -0600
parents c6c3ba5cf6eb
children cd4db27c90e3
line wrap: on
line diff
--- a/news/admin.py	Thu Nov 26 10:47:24 2015 -0600
+++ b/news/admin.py	Thu Nov 26 23:16:07 2015 -0600
@@ -79,7 +79,8 @@
                 meta_description=pending_story.meta_description,
                 short_markup=pending_story.short_markup,
                 long_markup=pending_story.long_markup,
-                admin_content=pending_story.admin_content)
+                admin_content=pending_story.admin_content,
+                version=pending_story.version)
         story.save()
         pending_story.delete()