views:

125

answers:

1

If you change your urls.py or you stupidly write some template code that refers to a URL that ultimately doesn't reverse to a URL you get the infamous:

NoReverseMatch: Reverse for '<name>' with arguments 'xxx' and keyword arguments '{xxx}' not found.

Is there a way to have the line in the template file included in the error?

A: 

You would have to write out your own implementation of the error reporting to achieve this. Template errors are traced to the point of rendering the template. This isn't super helpful but from my experience it's all there is.

orokusaki