Django highlights incorrect lines for template errors
|Reported by:||michaelvantellingen@…||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.
Change History (5)
Changed 3 years ago by michaelvantellingen@…
comment:1 Changed 3 years ago by michaelvantellingen@…
- Has patch set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 3 years ago by aaugustin
- Patch needs improvement set
- Triage Stage changed from Unreviewed to Accepted