Opened 16 years ago

Closed 16 years ago

#7821 closed (invalid)

Add exception value to NoReverseMatch exception

Reported by: jmohr@… Owned by: nobody
Component: Core (Other) Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The NoReverseMatch exception in django.core.urlresolvers.reverse has no string value associated with it. I added a string value to make it display the value of lookup_view, it makes it a little easier to debug URL issues. I've attached a patch, just a quick one-liner.

Attachments (2)

urlresolvers-reverse.diff (658 bytes ) - added by jmohr@… 16 years ago.
Add a value to the NoReverseMatch exception raised by django.core.urlresolvers.reverse
urlresolvers-reverse-r8225.patch (664 bytes ) - added by Adam Vandenberg 16 years ago.
Updated patch to r8225

Download all attachments as: .zip

Change History (4)

by jmohr@…, 16 years ago

Attachment: urlresolvers-reverse.diff added

Add a value to the NoReverseMatch exception raised by django.core.urlresolvers.reverse

comment:1 by Jeff Anderson, 16 years ago

Triage Stage: UnreviewedReady for checkin

by Adam Vandenberg, 16 years ago

Updated patch to r8225

comment:2 by Julien Phalip, 16 years ago

Resolution: invalid
Status: newclosed

This was fixed in [8272]. Try with a more recent version of trunk.

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