Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added link to request-and-response documentation from tutorial03

git-svn-id: http://code.djangoproject.com/svn/django/trunk@602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9f125641687698c5ec69991222a7126202b2a91b 1 parent 324f717
@adrianholovaty adrianholovaty authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 docs/tutorial03.txt
View
5 docs/tutorial03.txt
@@ -55,10 +55,12 @@ comparing the requested URL against each regular expression until it finds one
that matches.
When it finds a match, Django calls the Python callback function, with an
-``HTTPRequest`` request as the first argument, any "captured" values from the
+``HTTPRequest`` object as the first argument, any "captured" values from the
regular expression as keyword arguments, and, optionally, arbitrary keyword
arguments from the dictionary (an optional third item in the tuple).
+For more on ``HTTPRequest`` objects, see the `request and response documentation`_.
+
When you ran ``django-admin.py startproject myproject`` at the beginning of
Tutorial 1, it created a default URLconf in ``myproject/settings/urls/main.py``.
It also automatically set your ``ROOT_URLCONF`` setting to point at that file::
@@ -110,6 +112,7 @@ time the URLconf module is loaded. They're super fast.
.. _Wikipedia's entry: http://en.wikipedia.org/wiki/Regular_expression
.. _Python documentation: http://www.python.org/doc/current/lib/module-re.html
+.. _request and response documentation: http://www.djangoproject.com/documentation/request_response/
Write your first view
=====================

0 comments on commit 9f12564

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