mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
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 = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.filebased.FileCache',
|
||||
'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
|
||||
'LOCATION': '/var/tmp/django_cache',
|
||||
'TIMEOUT': 60,
|
||||
'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
|
||||
needs to run after other middleware updates the ``Vary`` header, so
|
||||
``FetchFromCacheMiddleware`` must be *after* any item that does so.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user