Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Small clarification to tutorial03

git-svn-id: http://code.djangoproject.com/svn/django/trunk@198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 6fdb7c98e820912b387da05f4a4d9643afd9c3d8 1 parent b20bb2f
Adrian Holovaty authored July 19, 2005

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. 10  docs/tutorial03.txt
10  docs/tutorial03.txt
@@ -76,11 +76,11 @@ this::
76 76
 This is worth a review. When somebody requests a page from your Web site --
77 77
 say, "/polls/23/", Django will load this Python module, because it's pointed to
78 78
 by the ``ROOT_URLCONF`` setting. It finds the variable named ``urlpatterns``
79  
-and traverses the regular expressions. When it finds a regular expression that
80  
-matches -- ``r'^polls/(?P<poll_id>\d+)/$'`` -- it loads the associated Python
81  
-package/module: ``myproject.polls.views.polls.detail``. That corresponds to the
82  
-function ``detail()`` in ``myproject/polls/views/polls.py``. Finally, it calls
83  
-that ``detail()`` function like so::
  79
+and traverses the regular expressions in order. When it finds a regular
  80
+expression that matches -- ``r'^polls/(?P<poll_id>\d+)/$'`` -- it loads the
  81
+associated Python package/module: ``myproject.polls.views.polls.detail``. That
  82
+corresponds to the function ``detail()`` in ``myproject/polls/views/polls.py``.
  83
+Finally, it calls that ``detail()`` function like so::
84 84
 
85 85
     detail(request=<HttpRequest object>, poll_id=23)
86 86
 

0 notes on commit 6fdb7c9

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