Django

Code

Ticket #7191 (new)

Opened 4 days ago

Last modified 3 days ago

URL dispatcher page, small error

Reported by: anonymous Assigned to: nobody
Component: Documentation Version: SVN
Keywords: Cc:
Triage Stage: Ready for checkin Has patch: 1
Needs documentation: 0 Needs tests: 0
Patch needs improvement: 0

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

url_dispatch.patch (0.6 kB) - added by andrews on 05/09/08 00:31:05.

Change History

05/07/08 22:42:09 changed by Alex

  • needs_better_patch changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • needs_docs changed.

05/09/08 00:31:05 changed by andrews

  • attachment url_dispatch.patch added.

05/09/08 00:33:23 changed by Alex

  • has_patch set to 1.
  • stage changed from Accepted to Ready for checkin.

Add/Change #7191 (URL dispatcher page, small error)




Change Properties
Action