#19091: NoReverseMatch template errors are difficult to debug
--------------------------------------+------------------------------------
     Reporter:  alper                 |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Core (URLs)           |                  Version:  1.4
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  1
--------------------------------------+------------------------------------

Comment (by gcc):

 There's a monkey patch here that improves debugging messages in reverse:

 https://github.com/aptivate/intranet-
 binder/blob/master/monkeypatches.py#L203

 If this looks reasonable I can try to work up a patch. It does need to be
 updated because since Django 1.4 the RegexURLResolver.reverse method that
 it patches has a new name.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19091#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to