From 9f125641687698c5ec69991222a7126202b2a91b Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 2 Sep 2005 17:41:40 +0000 Subject: [PATCH] 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 --- docs/tutorial03.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/tutorial03.txt b/docs/tutorial03.txt index 24e24f1193..875bd7b86a 100644 --- a/docs/tutorial03.txt +++ b/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 =====================