Added DEBUG_PLAINTEXT_AJAX_ERROR_MESSAGES setting to customize error display #8

Closed
wants to merge 1 commit into
from

3 participants

@davehughes

The plaintext error responses for AJAX requests in 1.4 drop a lot of the stack trace context that was included in the HTML responses pre-1.4. Tools like the network response 'Preview' viewer in Chrome make it easy to navigate the HTML response to drill down into the richer context it provides. This patch maintains the 1.4 default but enables the response to be configured to use the original behavior.

@aaugustin
Django member

Please be aware that pull requests won't be merged without a corresponding ticket in Trac (specifically, we need an excellent reason to add yet another setting).

@aaugustin
Django member

Thanks :) Sorry, we still need to figure out some bits of our ticket management processes after the move to GitHub.

@adrianholovaty
Django member

I'm closing this particular pull request, as Dave and I have discussed on Trac that a different approach would be better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment