diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-09-02 17:41:40 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-09-02 17:41:40 +0000 |
| commit | 9f125641687698c5ec69991222a7126202b2a91b (patch) | |
| tree | 8d71c7fb1177e02752a10af1197d3934c4cfcaf1 /docs/tutorial03.txt | |
| parent | 324f717c5e7e2e62963e6a3e4f57d3099bfdeaef (diff) | |
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
Diffstat (limited to 'docs/tutorial03.txt')
| -rw-r--r-- | docs/tutorial03.txt | 5 |
1 files changed, 4 insertions, 1 deletions
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 ===================== |
