mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
magic-removal: changed explicit settings import to qualified settings import in django.core.cache
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ba787be1af
commit
c5e944a7e2
@ -498,5 +498,5 @@ def get_cache(backend_uri):
|
|||||||
|
|
||||||
return _BACKENDS[scheme](host, params)
|
return _BACKENDS[scheme](host, params)
|
||||||
|
|
||||||
from django.conf.settings import CACHE_BACKEND
|
from django.conf import settings
|
||||||
cache = get_cache(CACHE_BACKEND)
|
cache = get_cache(settings.CACHE_BACKEND)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user