#22063 closed Cleanup/optimization (fixed)
Documentation for urlresolvers.reverse should mention NoReverseMatch
| Reported by: | Baptiste Mispelon | Owned by: | jwiel86 |
|---|---|---|---|
| Component: | Documentation | Version: | 1.6 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
The reference documentation for urlresolvers.reverse() [1] doesn't mention what happens if no match is found.
To find this info, you have to go to the documentation of NoReverseMatch [2].
[1] https://docs.djangoproject.com/en/1.6/ref/urlresolvers/#reverse
[2] https://docs.djangoproject.com/en/1.6/ref/exceptions/#django.core.urlresolvers.NoReverseMatch
Change History (4)
comment:1 by , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Created a pull request: https://github.com/django/django/pull/2359