Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed an impossible code path in cache function

  • Loading branch information...
commit 04a7ea3283318dbec84529b055548042a43e4f4d 1 parent 3416269
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.