Opened 15 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 Gary Wilson)

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 Jacob, 15 years ago

milestone: 1.1
Triage Stage: UnreviewedAccepted

by Jeff Anderson, 15 years ago

Attachment: tut04_decouple.diff added

Here's the fix in patch form

comment:2 by Jeff Anderson, 15 years ago

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:3 by Kevin Kubasik, 15 years ago

Keywords: kkmegapatch added

This has been fixed.

comment:4 by Gary Wilson, 15 years ago

Description: modified (diff)
Owner: changed from nobody to Gary Wilson
Status: newassigned
Note: See TracTickets for help on using tickets.
Back to Top