500 status code debugging view shouldn't localize numeric tags IDs/line numbers
|Reported by:||Ramiro Morales||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Contributor Kronuz opened a pull request (https://github.com/django/django/pull/451) with a proposed fix to the issue.
I've added tests here: https://github.com/django/django/pull/1437
One thing missing in the proposed fix was importing the
l10n template tag library (the one that contains the
unlocalize filter) and this stopped me from merging the PR right away.
Until now the template is pretty self-contained and lean, e.g. it doesn't import template tag libraries (I suspect to minimize the risk of triggering other problems when trying to show a helpful version of the server error exceptions.)
Should I ignore all this and simply commit the fix?