Author: gwilson
Date: 2009-03-30 14:01:30 -0500 (Mon, 30 Mar 2009)
New Revision: 10203
Modified:
django/branches/releases/1.0.X/docs/intro/tutorial04.txt
Log:
[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.
Modified: django/branches/releases/1.0.X/docs/intro/tutorial04.txt
===================================================================
--- django/branches/releases/1.0.X/docs/intro/tutorial04.txt 2009-03-30
19:00:33 UTC (rev 10202)
+++ django/branches/releases/1.0.X/docs/intro/tutorial04.txt 2009-03-30
19:01:30 UTC (rev 10203)
@@ -47,10 +47,10 @@
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``::
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---