#10055 closed (fixed)
Documentation clarification to url lookups
| Reported by: | TLS | Owned by: | Jacob |
|---|---|---|---|
| Component: | Documentation | Version: | 1.0 |
| Severity: | Keywords: | URLconf | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Tutorial 3 is excellent, however I think a very small technicality should be slightly fixed.
At the time of this writing, at line 120 and 121 in /django/trunk/docs/intro/tutorial03.txt say (backing up one line for a complete sentence) :
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/.
The issue is that the URLconf will not actually be searching /myapp/, but rather, myapp/ (without the leading slash). This is evidenced by the actual behavior of Django's URL lookup, as well as the URLconf supplied in the tutorial just a few lines above the section which I'm quoting. I'd fix it myself, but I'm not into the development end of things yet so I can't commit any changes, although I hope soon to change that fact :)
Attachments (1)
Change History (8)
comment:1 by , 17 years ago
| milestone: | → 1.1 |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 17 years ago
| Summary: | Documentation clarification → Documentation clarification to url lookups |
|---|
comment:3 by , 17 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
by , 17 years ago
| Attachment: | tutorial03.diff added |
|---|
comment:4 by , 17 years ago
| Has patch: | set |
|---|
comment:5 by , 17 years ago
| Owner: | changed from to |
|---|
comment:6 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
(In [10371]) Fixed a whole bunch of small docs typos, errors, and ommissions.
Fixes #8358, #8396, #8724, #9043, #9128, #9247, #9267, #9267, #9375, #9409, #9414, #9416, #9446, #9454, #9464, #9503, #9518, #9533, #9657, #9658, #9683, #9733, #9771, #9835, #9836, #9837, #9897, #9906, #9912, #9945, #9986, #9992, #10055, #10084, #10091, #10145, #10245, #10257, #10309, #10358, #10359, #10424, #10426, #10508, #10531, #10551, #10635, #10637, #10656, #10658, #10690, #10699, #19528.
Thanks to all the respective authors of those tickets.