Opened 8 years ago

Closed 8 years ago

Last modified 5 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: UI/UX:

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 8 years ago.
Here's the fix in patch form

Download all attachments as: .zip

Change History (8)

comment:1 Changed 8 years ago by Jacob

milestone: 1.1
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

Changed 8 years ago by Jeff Anderson

Attachment: tut04_decouple.diff added

Here's the fix in patch form

comment:2 Changed 8 years ago by Jeff Anderson

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:3 Changed 8 years ago by Kevin Kubasik

Keywords: kkmegapatch added

This has been fixed.

comment:4 Changed 8 years ago by Gary Wilson

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

comment:5 Changed 8 years ago by Gary Wilson

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 Changed 8 years ago by Gary Wilson

(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 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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