Commit a6fb97af by David Ormsbee

Catch Exception instead of ValueError for accessing our general content cache --…

Catch Exception instead of ValueError for accessing our general content cache -- exception thrown changed in django 1.4
parent 2905ac7c
......@@ -11,6 +11,6 @@ from django.core import cache
# to returning the default cache. This will happen with dev machines.
try:
cache = cache.get_cache('general')
except ValueError:
except Exception:
cache = cache.cache
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment