Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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 jwiel86, 10 years ago

Owner: changed from nobody to jwiel86
Status: newassigned

comment:3 by Baptiste Mispelon <bmispelon@…>, 10 years ago

Resolution: fixed
Status: assignedclosed

In b645be80e99709c8b1f9b3d1c26e99e22fdca08b:

Fixed #22063 -- Added reference to NoReverseMatch from the reverse() documentation

comment:4 by Baptiste Mispelon <bmispelon@…>, 10 years ago

In 23cbfc9a254eef6c06252dfd4f8f7b9b7456f8e2:

[1.6.x] Fixed #22063 -- Added reference to NoReverseMatch from the reverse() documentation

Backport of b645be80e99709c8b1f9b3d1c26e99e22fdca08b from master.

Note: See TracTickets for help on using tickets.
Back to Top