Django

Code

Changeset 603

Show
Ignore:
Timestamp:
09/02/05 12:48:18 (3 years ago)
Author:
adrian
Message:

Added link to request-and-response documentation from tutorial04

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/tutorial04.txt

    r499 r603  
    103103      tip isn't specific to Django; it's just good Web development practice. 
    104104 
     105As mentioned in Tutorial 3, ``request`` is a ``HTTPRequest`` object. For more 
     106on ``HTTPRequest`` objects, see the `request and response documentation`_. 
     107 
    105108After somebody votes in a poll, the ``vote()`` view redirects to the results 
    106109page for the poll. Let's write that view:: 
     
    134137without having chosen a choice, you should see the error message. 
    135138 
     139.. _request and response documentation: http://www.djangoproject.com/documentation/request_response/ 
     140 
    136141Use generic views: Less code is better 
    137142======================================