Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #13336 -- Corrected an incorrect example of cache header usage.…

… Thanks to dnjuls for the report, and claudep for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 0cb2ae9123940611599566add12d438029a863f1 1 parent 19826d9
Russell Keith-Magee authored May 08, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/ref/request-response.txt
2  docs/ref/request-response.txt
@@ -434,7 +434,7 @@ Setting headers
434 434
 To set a header in your response, just treat it like a dictionary::
435 435
 
436 436
     >>> response = HttpResponse()
437  
-    >>> response['Pragma'] = 'no-cache'
  437
+    >>> response['Cache-Control'] = 'no-cache'
438 438
 
439 439
 .. versionadded:: 1.1
440 440
 

0 notes on commit 0cb2ae9

Please sign in to comment.
Something went wrong with that request. Please try again.