Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added link to request-and-response documentation from tutorial04

git-svn-id: http://code.djangoproject.com/svn/django/trunk@603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4e2f910ff1d343c994fed6847ae0030f18e9843b 1 parent 9f12564
Adrian Holovaty authored

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  docs/tutorial04.txt
5  docs/tutorial04.txt
@@ -102,6 +102,9 @@ This code includes a few things we haven't covered yet in this tutorial:
102 102
       ``HttpResponseRedirect`` after successfully dealing with POST data. This
103 103
       tip isn't specific to Django; it's just good Web development practice.
104 104
 
  105
+As mentioned in Tutorial 3, ``request`` is a ``HTTPRequest`` object. For more
  106
+on ``HTTPRequest`` objects, see the `request and response documentation`_.
  107
+
105 108
 After somebody votes in a poll, the ``vote()`` view redirects to the results
106 109
 page for the poll. Let's write that view::
107 110
 
@@ -133,6 +136,8 @@ Now, go to ``/polls/1/`` in your browser and vote in the poll. You should see a
133 136
 results page that gets updated each time you vote. If you submit the form
134 137
 without having chosen a choice, you should see the error message.
135 138
 
  139
+.. _request and response documentation: http://www.djangoproject.com/documentation/request_response/
  140
+
136 141
 Use generic views: Less code is better
137 142
 ======================================
138 143
 

0 notes on commit 4e2f910

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