Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move technical_500 template paths to class-level variables #12393

Closed
wants to merge 1 commit into from

Conversation

akx
Copy link
Contributor

@akx akx commented Jan 30, 2020

This allows effortless replacement of the debugging templates without having to copy-paste the get_traceback_html and get_traceback_text functions into a deriving class.

@akx akx marked this pull request as ready for review January 30, 2020 16:31
django/views/debug.py Outdated Show resolved Hide resolved
This allows effortless replacement of the debugging templates
without having to copy-paste the `get_traceback_html` and
`get_traceback_text` functions into a deriving class.
@jdufresne
Copy link
Member

Tests should be added to demonstrate overriding these class variables. Can you also add a ticket to Django Trac?

@felixxm
Copy link
Member

felixxm commented Aug 5, 2020

@akx All new features require an accepted ticket. Can you create a new ticket for this feature?

@felixxm
Copy link
Member

felixxm commented Aug 11, 2020

Closing due to lack of follow up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants