Fixed #15222 - FileCache -> FileBasedCache typo; thanks Serp.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d89ad6423c
commit
0737307e8c
|
@ -401,7 +401,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.FileBasedCache',
|
||||||
'LOCATION': '/var/tmp/django_cache',
|
'LOCATION': '/var/tmp/django_cache',
|
||||||
'TIMEOUT': 60,
|
'TIMEOUT': 60,
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
|
@ -1146,4 +1146,3 @@ where middleware is applied first-to-last, so an item at the top of the list
|
||||||
runs *first* during the request phase. The ``FetchFromCacheMiddleware`` also
|
runs *first* during the request phase. The ``FetchFromCacheMiddleware`` also
|
||||||
needs to run after other middleware updates the ``Vary`` header, so
|
needs to run after other middleware updates the ``Vary`` header, so
|
||||||
``FetchFromCacheMiddleware`` must be *after* any item that does so.
|
``FetchFromCacheMiddleware`` must be *after* any item that does so.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue