Invalidating cache when new stories come in.

This commit is contained in:
Samuel Clay 2009-08-01 15:25:49 +00:00
parent bd0099ad81
commit 27a315fd07

View file

@ -76,6 +76,7 @@ def refresh_feeds(feeds, force=False):
)
for us in usersubs:
us.count_unread()
cache.delete('usersub:%s' % us.user_id)
return
def load_feeds(request):