1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #13827 -- Cleaned up a few unnecessary function calls.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel
2010-09-26 21:36:22 +00:00
parent d8d38ec6e7
commit 1df1378f9e
11 changed files with 16 additions and 20 deletions

View File

@@ -63,7 +63,7 @@ def get_cache(backend_uri):
else:
name = scheme
module = importlib.import_module(name)
return getattr(module, 'CacheClass')(host, params)
return module.CacheClass(host, params)
cache = get_cache(settings.CACHE_BACKEND)