Django highlights incorrect lines for template errors
|Reported by:||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
This issue is bugging me for a while now and after searching for existing tickets (and finding none) i've decided to create a ticket for it.
Basically Django highlights the wrong lines when a template error occurs. Sometimes it even highlights a seemingly random line in the parent template (when an error occurs in the template which is included).
I'll attach a screenshot with an example.