#30779: technical_500.html: use filename:lineno format for exception location
------------------------------------------------+------------------------
Reporter: Daniel Hahler | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: Error reporting | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
Using
{{{
Exception Location: …/dj/views.py:28 (in form_valid)
}}}
instead of
{{{
Exception Location: …/dj/views.py in form_valid, line 28
}}}
would allow for easier copy'n'paste of the location for going there in an
editor.
The format ``fname:lnum`` is usually handled there to go to the line
number there directly.
By default this does not work as good as it could then, since browsers
will not include the ":" on double-click (tested Firefox and qutebrowser),
but the "text-select" CSS property can be used for this, which then
selected it with a single click already. Ref:
https://developer.mozilla.org/en-US/docs/Web/CSS/user-select
--
Ticket URL: <https://code.djangoproject.com/ticket/30779>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.98c9ca5196a36bfc7a4e6eafb6022c02%40djangoproject.com.