Author: russellm
Date: 2010-05-08 02:32:08 -0500 (Sat, 08 May 2010)
New Revision: 13129

Modified:
   django/trunk/docs/ref/request-response.txt
Log:
Fixed #13336 -- Corrected an incorrect example of cache header usage. Thanks to 
dnjuls for the report, and claudep for the patch.

Modified: django/trunk/docs/ref/request-response.txt
===================================================================
--- django/trunk/docs/ref/request-response.txt  2010-05-08 07:31:43 UTC (rev 
13128)
+++ django/trunk/docs/ref/request-response.txt  2010-05-08 07:32:08 UTC (rev 
13129)
@@ -434,7 +434,7 @@
 To set a header in your response, just treat it like a dictionary::
 
     >>> response = HttpResponse()
-    >>> response['Pragma'] = 'no-cache'
+    >>> response['Cache-Control'] = 'no-cache'
 
 .. versionadded:: 1.1
 

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

Reply via email to