changeset 37:353ca3874f43

I changed the New tag to be the last 30 days instead of 3.
author Bob Mourlam <bob.mourlam@gmail.com>
date Sun, 06 Nov 2011 20:22:07 -0600
parents 0bac5dfbcc7c
children 6b4e02b8be6b
files bns_website/news/models.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bns_website/news/models.py	Mon Oct 31 22:10:06 2011 -0500
+++ b/bns_website/news/models.py	Sun Nov 06 20:22:07 2011 -0600
@@ -15,7 +15,7 @@
 
 
     def is_new(self):
-        if datetime.now() - self.date <= timedelta(days=3):
+        if datetime.now() - self.date <= timedelta(days=30):
             return True
 
         return False