Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.5.x] Removed an impossible code path in cache function

Backport of 04a7ea3 from master.
  • Loading branch information...
commit 48a2917d46571840d3df43f2b434f81166071a17 1 parent e6bc0c5
Claude Paroz claudep authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  django/core/cache/__init__.py
2  django/core/cache/__init__.py
View
@@ -93,8 +93,6 @@ def parse_backend_conf(backend, **kwargs):
raise InvalidCacheBackendError("Could not find backend '%s'" % backend)
location = kwargs.pop('LOCATION', '')
return backend, location, kwargs
- raise InvalidCacheBackendError(
- "Couldn't find a cache backend named '%s'" % backend)
def get_cache(backend, **kwargs):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.