Re: Better error message for django.core.urlresolvers.reverse

2011-06-16 Thread tomv
Hi Gregor, Cool, will do this after my holiday. Tom On Jun 12, 12:01 pm, Gregor Müllegger wrote: > Hi Tom, > > currently it seems that the url resolver that is actually raising the > error doesn't know about in which namespace he acts. However I think > as well that this might be a usefull addi

Re: Better error message for django.core.urlresolvers.reverse

2011-06-12 Thread Gregor Müllegger
Hi Tom, currently it seems that the url resolver that is actually raising the error doesn't know about in which namespace he acts. However I think as well that this might be a usefull addition to the error message. I would suggest adding a ticket to django's bugtracker [1] for this. Ideally write

Better error message for django.core.urlresolvers.reverse

2011-06-09 Thread tomv
Hi, This is the current error message when a url name or argument doesn't exist: >>> reverse('core:non_existant') NoReverseMatch: Reverse for 'non_existant' with arguments '()' and keyword arguments '{}' not found. Is there support for adding the namespace into the error message? Tom -- You r