Permalink
Browse files

Fixed #15264 -- Ensured that legacy cache backends specified using th…

…e legacy cache format continue to work. Thanks to Stephane for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 41dc3fc commit 0aacecb74c32021bd9ccaee8e9b20b107f5c16ca @freakboy3742 freakboy3742 committed Feb 10, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 django/core/cache/__init__.py
@@ -101,6 +101,8 @@ def parse_backend_uri(backend_uri):
engine, host, params = parse_backend_uri(settings.CACHE_BACKEND)
if engine in backend_classes:
engine = 'django.core.cache.backends.%s' % backend_classes[engine]
+ else:
+ engine = '%s.CacheClass' % engine
defaults = {
'BACKEND': engine,
'LOCATION': host,

0 comments on commit 0aacecb

Please sign in to comment.