Fixed #7460 -- Made the "cache" template tag always generate keys that can be
commit5c0d16aaa90fd9eb503370571c08fe6f64e3af54
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Mon, 25 Aug 2008 04:52:55 +0000 (25 04:52 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Mon, 25 Aug 2008 04:52:55 +0000 (25 04:52 +0000)
tree7e1549706abbc2b808876afcbc803d5e78cd8709
parent994406e38efc56b0a810b9d375bad1838d7a822f
Fixed #7460 -- Made the "cache" template tag always generate keys that can be
used with the memcache backend (which has the strongest restriction on keys).
Based on a patch from trbs.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/templatetags/cache.py
tests/regressiontests/templates/tests.py