diff gpp/news/admin.py @ 213:65016249bf35

See #31; undid attempts to clear template tag caching when saving news and bulletins, as we don't know the cache key (it is mangled).
author Brian Neal <bgneal@gmail.com>
date Mon, 10 May 2010 02:58:19 +0000
parents b4305e18d3af
children 6dbb8faef085
line wrap: on
line diff
--- a/gpp/news/admin.py	Sun May 09 20:53:34 2010 +0000
+++ b/gpp/news/admin.py	Mon May 10 02:58:19 2010 +0000
@@ -5,7 +5,6 @@
 
 from django.contrib import admin
 from django.conf import settings
-from django.core.cache import cache
 
 from news.models import PendingStory
 from news.models import Story
@@ -31,7 +30,6 @@
                     tags=pending_story.tags)
             story.save()
             pending_story.delete()
-            cache.delete('home_news')
 
     approve_story.short_description = "Approve selected pending stories"