diff options
| author | Timo Graham <timograham@gmail.com> | 2011-02-06 17:28:01 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2011-02-06 17:28:01 +0000 |
| commit | 0737307e8c519250aad43420245b4a3eae578650 (patch) | |
| tree | bc1c42daa0fa75aa1b0e2a4cd13ba6b79732b449 | |
| parent | d89ad6423cec80c7550fb0a45d6cdf7b7b31564e (diff) | |
Fixed #15222 - FileCache -> FileBasedCache typo; thanks Serp.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | docs/topics/cache.txt | 3 |
1 files changed, 1 insertions, 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. - |
