Browse files

Small clarification to tutorial03

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent b20bb2f commit 6fdb7c98e820912b387da05f4a4d9643afd9c3d8 @adrianholovaty adrianholovaty committed Jul 19, 2005
Showing with 5 additions and 5 deletions.
  1. +5 −5 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/``. 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/``.
+Finally, it calls that ``detail()`` function like so::
detail(request=<HttpRequest object>, poll_id=23)

0 comments on commit 6fdb7c9

Please sign in to comment.