diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-05-08 07:32:08 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-05-08 07:32:08 +0000 |
| commit | 0cb2ae9123940611599566add12d438029a863f1 (patch) | |
| tree | 87eab23b6c09bef0858ea3445e34a2f1846b1e67 /docs/ref/request-response.txt | |
| parent | 19826d991030c90c2feaa4689291bbf6ce6292fa (diff) | |
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
Diffstat (limited to 'docs/ref/request-response.txt')
| -rw-r--r-- | docs/ref/request-response.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 1788e06baa..fa8baf0783 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -434,7 +434,7 @@ Setting headers 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 |
