Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#9944 closed (fixed)

Section 4: URLconf doesn't reflect the change at the end of section 3

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.

Attachments (1)

tut04_decouple.diff (580 bytes ) - added by Jeff Anderson 16 years ago.
Here's the fix in patch form

Download all attachments as: .zip

Change History (8)

comment:1 by Jacob, 16 years ago

milestone: 1.1
Triage Stage: UnreviewedAccepted

by Jeff Anderson, 16 years ago

Attachment: tut04_decouple.diff added

Here's the fix in patch form

comment:2 by Jeff Anderson, 16 years ago

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:3 by Kevin Kubasik, 16 years ago

Keywords: kkmegapatch added

This has been fixed.

comment:4 by Gary Wilson, 16 years ago

Description: modified (diff)
Owner: changed from nobody to Gary Wilson
Status: newassigned

comment:5 by Gary Wilson, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [10202]) 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.

comment:6 by Gary Wilson, 16 years ago

(In [10203]) [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.

comment:7 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

Note: See TracTickets for help on using tickets.
Back to Top