summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2009-03-30 19:01:30 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2009-03-30 19:01:30 +0000
commit387bd8f386aff72e68a7eb042bdbdc15181b50a0 (patch)
tree87f0a7f85843be6136a54526ec650fe34af3b5d3 /docs
parent46e37d20d4cafe4684aa7a38ffa72eced91e2736 (diff)
[1.0.X]: Fixed #9944 -- Fixed a URL in tutorial four that was changed in the "Decoupling the URLconfs" section at the end of tutorial three, patch from programmerq.
Backport of r10202 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial04.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt
index 529b4707d0..5c2e1e8ec1 100644
--- a/docs/intro/tutorial04.txt
+++ b/docs/intro/tutorial04.txt
@@ -47,10 +47,10 @@ A quick rundown:
through its loop
Now, let's create a Django view that handles the submitted data and does
-something with it. Remember, in :ref:`Tutorial 3 <intro-tutorial03>`, we created
-a URLconf for the polls application that includes this line::
+something with it. Remember, in :ref:`Tutorial 3 <intro-tutorial03>`, we
+created a URLconf for the polls application that includes this line::
- (r'^(?P<poll_id>\d+)/vote/$', 'mysite.polls.views.vote'),
+ (r'^(?P<poll_id>\d+)/vote/$', 'vote'),
So let's create a ``vote()`` function in ``mysite/polls/views.py``::