Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 0aacecb74c32021bd9ccaee8e9b20b107f5c16ca 1 parent 41dc3fc
Russell Keith-Magee freakboy3742 authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/core/cache/__init__.py
2  django/core/cache/__init__.py
View
@@ -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,
Please sign in to comment.
Something went wrong with that request. Please try again.