Code

Opened 6 years ago

Closed 5 years ago

Last modified 3 years ago

#9944 closed (fixed)

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

Reported by: kurisuto Owned by: gwilson
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 gwilson)

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

Download all attachments as: .zip

Change History (8)

comment:1 Changed 5 years ago by jacob

  • milestone set to 1.1
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Changed 5 years ago by programmerq

Here's the fix in patch form

comment:2 Changed 5 years ago by programmerq

  • Has patch set
  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 5 years ago by kkubasik

  • Keywords kkmegapatch added

This has been fixed.

comment:4 Changed 5 years ago by gwilson

  • Description modified (diff)
  • Owner changed from nobody to gwilson
  • Status changed from new to assigned

comment:5 Changed 5 years ago by gwilson

  • Resolution set to fixed
  • Status changed from assigned to closed

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

(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 3 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.