mirror of
https://github.com/django/django.git
synced 2025-10-25 22:56:12 +00:00
Fixed #13795 -- Added a site-wide cache prefix and cache versioning. Thanks to bruth for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -433,6 +433,9 @@ SESSION_FILE_PATH = None # Directory to store ses
|
||||
# The cache backend to use. See the docstring in django.core.cache for the
|
||||
# possible values.
|
||||
CACHE_BACKEND = 'locmem://'
|
||||
CACHE_VERSION = 1
|
||||
CACHE_KEY_PREFIX = ''
|
||||
CACHE_KEY_FUNCTION = None
|
||||
CACHE_MIDDLEWARE_KEY_PREFIX = ''
|
||||
CACHE_MIDDLEWARE_SECONDS = 600
|
||||
|
||||
|
||||
Reference in New Issue
Block a user