URL dispatcher page, small error
|Reported by:||anonymous||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Mistake on this page:
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.)
Change History (4)
comment:1 Changed 8 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|