From 0737307e8c519250aad43420245b4a3eae578650 Mon Sep 17 00:00:00 2001 From: Timo Graham Date: Sun, 6 Feb 2011 17:28:01 +0000 Subject: [PATCH] Fixed #15222 - FileCache -> FileBasedCache typo; thanks Serp. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15439 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/cache.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index 9a87b45f0a..e6f0ca1f4e 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -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. -