0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

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:
Timo Graham 2011-01-15 18:52:59 +00:00
parent 8b4e39bc2e
commit 6c361ecb17

View File

@ -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