Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#22063 closed Cleanup/optimization (fixed)

Documentation for urlresolvers.reverse should mention NoReverseMatch

Reported by: bmispelon 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 Changed 18 months ago by jwiel86

  • Owner changed from nobody to jwiel86
  • Status changed from new to assigned

comment:2 Changed 18 months ago by alextreme

comment:3 Changed 18 months ago by Baptiste Mispelon <bmispelon@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In b645be80e99709c8b1f9b3d1c26e99e22fdca08b:

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

comment:4 Changed 18 months ago by Baptiste Mispelon <bmispelon@…>

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