#28510: Add json reporter for debug view
-----------------------------------------+-------------------------------
Reporter: Ivan Chernoff | Owner: Ivan Chernoff
Type: New feature | Status: assigned
Component: Utilities | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+-------------------------------
Hi, fellows.
I was seeing file django/views/debug.py. Based on it, on ajax request
exception django responds in plain/text format. But when you are debugging
API calls in something like postman or soap-ui, it's prettier to see json,
because it has better viewer.
Propose to change plain/text response to application/json. if client send
'Accept: application/json'.
--
Ticket URL: <https://code.djangoproject.com/ticket/28510>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.37d913a300a51c52642e4dd0ddfebca3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.