Add which template a syntax error is occurring in when you raise TemplateSyntaxErrors
|Reported by:||Moof <moof@…>||Owned by:||adrian|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Right now, if there's a TemplateSyntaxError, django throws an exception telling you what's missing, or what's gone wrong.
It would be nice for Django to tell me in which of the various nested templates I'm using on any given URL the syntax error occurs. Even better if you could manage a line number.