|Reported by:||Matt Harasymczuk||Owned by:||nobody|
|Cc:||djangoproject.com@…||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Make ability to change TECHNICAL_500_TEMPLATE and TECHNICAL_404_TEMPLATE from django.views.debug
DEBUG_VIEW = 'django.views.debug.tabbed'
DEBUG_VIEW = 'django.views.debug.default'
Make an error display page less verbose.
I mean not to exclude those useful information, but to initially fold (hide) them.
Fold those items:
- Python path at the top yellow background.
- (Hide or fold) django traceback entries
When I have a problem I have to scroll down (passing django calls) few pages until I am able to find which MY action caused an error.
I know looking at django callback may be useful, but in my case, hardly ever, and probably for newcommers also.
I am imagining this like that:
At the top of the error page, there are tabs.
Summary, Traceback, Request, Settings, and copy-paste view (feedback view).
Summary tab, contains this yellow background information with PYTHON_PATH initially folded, and traceback filtered out to include only information from project not calls from django itself.
Traceback, request and settings tabs as it is right now, but separated for easy of view.
copy-paste (feedback) - a standardize view for easy of copy-and-paste to the Internet message boards, groups and so on...
It would need a template refactor and some more js involved, should not be a hard thing to do.
I read that there is a plan to redesign an error page, but since then, those modifications should do the job.
Change History (5)
comment:1 Changed 5 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Design decision needed|