Code

Opened 6 years ago

Closed 6 years ago

#7191 closed (fixed)

URL dispatcher page, small error

Reported by: anonymous Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Mistake on this page:
http://www.djangoproject.com/documentation/url_dispatch/

Quote (from section "What the URLconf searches against"):

For example, in a request to http://www.example.com/myapp/, the URLconf will look for /myapp/.

In a request to http://www.example.com/myapp/?page=3, the URLconf will look for /myapp/.

I don't think there should be a leading slash on each of those two occurrences of "/myapp/".

(The Django book in chapter 8 has a very similar pair of statements but doesn't include leading slashes, so that book is correct.)

Attachments (1)

url_dispatch.patch (662 bytes) - added by andrews 6 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 6 years ago by Alex

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

Changed 6 years ago by andrews

comment:2 Changed 6 years ago by Alex

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

comment:3 Changed 6 years ago by russellm

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

(In [7560]) Fixed #7191 -- Removed leading slashes in description of the patterns that a URLconf checks when GET data is present. Thanks, andrews.

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.