mirror of https://github.com/django/django.git
Fixed #15085 - Fix LOCATION for FileCache example. Thanks abdelazer for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8b4e39bc2e
commit
6c361ecb17
|
@ -400,7 +400,7 @@ of 60 seconds, and a maximum capacity of 1000 items::
|
||||||
CACHES = {
|
CACHES = {
|
||||||
'default': {
|
'default': {
|
||||||
'BACKEND': 'django.core.cache.backends.filebased.FileCache',
|
'BACKEND': 'django.core.cache.backends.filebased.FileCache',
|
||||||
'LOCATION': '127.0.0.1:11211',
|
'LOCATION': '/var/tmp/django_cache',
|
||||||
'TIMEOUT': 60,
|
'TIMEOUT': 60,
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'MAX_ENTRIES': 1000
|
'MAX_ENTRIES': 1000
|
||||||
|
|
Loading…
Reference in New Issue