mirror of https://github.com/django/django.git
Fixed #839 -- Fixed typo in docs/cache.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b5feff3963
commit
85c50d4fdf
|
@ -93,7 +93,7 @@ entire site. Just add ``django.middleware.cache.CacheMiddleware`` to your
|
||||||
(The order of ``MIDDLEWARE_CLASSES`` matters. See "Order of MIDDLEWARE_CLASSES"
|
(The order of ``MIDDLEWARE_CLASSES`` matters. See "Order of MIDDLEWARE_CLASSES"
|
||||||
below.)
|
below.)
|
||||||
|
|
||||||
Then, add the following three required settings to your Django settings file:
|
Then, add the following required settings to your Django settings file:
|
||||||
|
|
||||||
* ``CACHE_MIDDLEWARE_SECONDS`` -- The number of seconds each page should be
|
* ``CACHE_MIDDLEWARE_SECONDS`` -- The number of seconds each page should be
|
||||||
cached.
|
cached.
|
||||||
|
|
Loading…
Reference in New Issue