diff gpp/news/models.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 71fd8454688b
line wrap: on
line diff
--- a/gpp/news/models.py	Tue Jun 01 04:49:29 2010 +0000
+++ b/gpp/news/models.py	Tue Jun 01 05:16:40 2010 +0000
@@ -34,6 +34,7 @@
     date_submitted = models.DateTimeField(db_index=True)
     allow_comments = models.BooleanField(default=True)
     tags = TagField()
+    front_page_expiration = models.DateField(null=True, blank=True)
 
     class Meta:
         abstract = True