Permalink
Browse files

Reduce past event history from 2 to 1 days in feeds

  • Loading branch information...
1 parent c2c3fbb commit 5e304ec4f6d84e95c87b4b835452ca88456eb2f1 @dustball dustball committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 models.py
View
@@ -123,7 +123,7 @@ def get_approved_list_with_multiday(cls):
@classmethod
def get_recent_past_and_future(cls):
return cls.all() \
- .filter('start_time >', local_today() - timedelta(days=2)) \
+ .filter('start_time >', local_today() - timedelta(days=1)) \
.filter('status IN', ['approved', 'canceled']) \
.order('start_time').fetch(200)

0 comments on commit 5e304ec

Please sign in to comment.