Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 0aacecb74c32021bd9ccaee8e9b20b107f5c16ca 1 parent 41dc3fc
Russell Keith-Magee authored February 10, 2011

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  django/core/cache/__init__.py
2  django/core/cache/__init__.py
@@ -101,6 +101,8 @@ def parse_backend_uri(backend_uri):
101 101
     engine, host, params = parse_backend_uri(settings.CACHE_BACKEND)
102 102
     if engine in backend_classes:
103 103
         engine = 'django.core.cache.backends.%s' % backend_classes[engine]
  104
+    else:
  105
+        engine = '%s.CacheClass' % engine
104 106
     defaults = {
105 107
         'BACKEND': engine,
106 108
         'LOCATION': host,

0 notes on commit 0aacecb

Please sign in to comment.
Something went wrong with that request. Please try again.