Author: ubernostrum
Date: 2011-09-10 22:57:38 -0700 (Sat, 10 Sep 2011)
New Revision: 16815

Modified:
   django/trunk/docs/topics/cache.txt
Log:
Fixed #16334: Make it quite clear that cache_page's 'cache' argument refers to 
the name of a cache in the CACHES setting.

Modified: django/trunk/docs/topics/cache.txt
===================================================================
--- django/trunk/docs/topics/cache.txt  2011-09-11 05:48:39 UTC (rev 16814)
+++ django/trunk/docs/topics/cache.txt  2011-09-11 05:57:38 UTC (rev 16815)
@@ -527,9 +527,10 @@
 requested, subsequent requests to that URL will use the cache.
 
 ``cache_page`` can also take an optional keyword argument, ``cache``,
-which directs the decorator to use a specific cache alias when caching view
-results. By default, the ``default`` alias will be used, but you can specify
-any cache alias you want::
+which directs the decorator to use a specific cache (from your
+:setting:`CACHES` setting) when caching view results. By default, the
+``default`` cache will be used, but you can specify any cache you
+want::
 
     @cache_page(60 * 15, cache="special_cache")
     def my_view(request):

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to