Author: russellm Date: 2010-05-08 02:34:53 -0500 (Sat, 08 May 2010) New Revision: 13132
Modified: django/branches/releases/1.1.X/docs/ref/request-response.txt Log: [1.1.X] Fixed #13336 -- Corrected an incorrect example of cache header usage. Thanks to dnjuls for the report, and claudep for the patch. Backport of r13129 from trunk. Modified: django/branches/releases/1.1.X/docs/ref/request-response.txt =================================================================== --- django/branches/releases/1.1.X/docs/ref/request-response.txt 2010-05-08 07:34:30 UTC (rev 13131) +++ django/branches/releases/1.1.X/docs/ref/request-response.txt 2010-05-08 07:34:53 UTC (rev 13132) @@ -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.