#25404: Template syntax errors should include line number in their message
--------------------------------------+--------------------
Reporter: djsmith42 | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Template system | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 1 | UI/UX: 0
--------------------------------------+--------------------
I realize the Django debug UI will show line numbers when DEBUG = True,
and that's great. But what about when you are writing a test and your code
raises an uncaught TemplateSyntaxError? In this case, it would be really
nice if the TemplateSyntaxError's message would show the line number
directly in the stack trace.
PR: https://github.com/django/django/pull/5268
--
Ticket URL: <https://code.djangoproject.com/ticket/25404>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.a7d136676065b4cdb77a64858cdeeb55%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.