summaryrefslogtreecommitdiff
path: root/docs/tutorial03.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-07-19 05:52:06 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-07-19 05:52:06 +0000
commit6fdb7c98e820912b387da05f4a4d9643afd9c3d8 (patch)
tree234b9bd4dc90fd9e9a01eb1b693b3381a38064c6 /docs/tutorial03.txt
parentb20bb2fc2663e0c5aa654cd8db74ced8d2733cae (diff)
downloaddjango-6fdb7c98e820912b387da05f4a4d9643afd9c3d8.tar.gz
Small clarification to tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/tutorial03.txt')
-rw-r--r--docs/tutorial03.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/tutorial03.txt b/docs/tutorial03.txt
index f544529a6d..9728fe756d 100644
--- a/docs/tutorial03.txt
+++ b/docs/tutorial03.txt
@@ -76,11 +76,11 @@ this::
This is worth a review. When somebody requests a page from your Web site --
say, "/polls/23/", Django will load this Python module, because it's pointed to
by the ``ROOT_URLCONF`` setting. It finds the variable named ``urlpatterns``
-and traverses the regular expressions. When it finds a regular expression that
-matches -- ``r'^polls/(?P<poll_id>\d+)/$'`` -- it loads the associated Python
-package/module: ``myproject.polls.views.polls.detail``. That corresponds to the
-function ``detail()`` in ``myproject/polls/views/polls.py``. Finally, it calls
-that ``detail()`` function like so::
+and traverses the regular expressions in order. When it finds a regular
+expression that matches -- ``r'^polls/(?P<poll_id>\d+)/$'`` -- it loads the
+associated Python package/module: ``myproject.polls.views.polls.detail``. That
+corresponds to the function ``detail()`` in ``myproject/polls/views/polls.py``.
+Finally, it calls that ``detail()`` function like so::
detail(request=<HttpRequest object>, poll_id=23)