Opened 16 years ago
Last modified 13 years ago
#9944 closed
Section 4: URLconf doesn't reflect the change at the end of section 3 — at Version 4
Reported by: | kurisuto | Owned by: | Gary Wilson |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | Keywords: | kkmegapatch | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
At this location:
http://docs.djangoproject.com/en/dev/intro/tutorial04/#intro-tutorial04
... is the following text:
Now, let's create a Django view that handles the submitted data and does something with it. Remember, in Tutorial 3, we created a URLconf for the polls application that includes this line:
(r'^(?P<poll_id>\d+)/vote/$', 'mysite.polls.views.vote'),
However, if you follow the instructions at the end of the previous chapter under "Decoupling the URLconfs", then the line reads as follows at the current point in the tutorial:
(r'^(?P<poll_id>\d+)/vote/$', 'vote'),
I imagine that someone added the "Decoupling the URLconfs" section later and didn't fully harmonize Tutorial 4 with this change.
I searched to see if this has already been reported. If it's there, I don't see it.
Change History (5)
comment:1 by , 16 years ago
milestone: | → 1.1 |
---|---|
Triage Stage: | Unreviewed → Accepted |
by , 16 years ago
Attachment: | tut04_decouple.diff added |
---|
comment:2 by , 16 years ago
Has patch: | set |
---|---|
Triage Stage: | Accepted → Ready for checkin |
comment:4 by , 16 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Here's the fix in patch form