Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 27314a8934368dfb1ca73bf73f4d99eff791bcdf 1 parent 1e21453
@gdub gdub authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/intro/tutorial04.txt
View
6 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``::
Please sign in to comment.
Something went wrong with that request. Please try again.