#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 by , 16 years ago
by , 16 years ago
Attachment: | urls.txt.diff added |
---|
comment:3 by , 16 years ago
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 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to daveyjoe:
Please disregard the second correction, I didn't notice that the url function was being used.