#9472 closed (fixed)
Corrections to URL dispatcher documentation
Reported by: | daveyjoe | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | Keywords: | url dispatcher docs | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Noticed on: http://docs.djangoproject.com/en/dev/topics/http/urls/#id2
(django/trunk/docs/topics/http/urls.txt
)
- URL's are missing the caret character
^
at the start of the regex. - name="full-archive" was giving me a syntax error.
Attachments (1)
Change History (6)
comment:1 Changed 10 years ago by
Changed 10 years ago by
Attachment: | urls.txt.diff added |
---|
comment:3 Changed 10 years ago by
Incidentally, the leading carat isn't required, it just happens to be useful almost always to root the pattern search to the start of the string (there are cases where that might not be desirable, though). The leading forwards slash was definitely going to cause problems, though.
Please create patches from the top of the subversion checkout so that we don't have to hunting for where the particular file is that needs patching. Thanks for the patch, anyway.
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to daveyjoe:
Please disregard the second correction, I didn't notice that the url function was being used.