[Django] #28510: Add json reporter for debug view

10 views
Skip to first unread message

Django

unread,
Aug 20, 2017, 2:58:23 PM8/20/17
to django-...@googlegroups.com
#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.

Django

unread,
Aug 20, 2017, 3:05:32 PM8/20/17
to django-...@googlegroups.com
#28510: Add json reporter for debug view
-------------------------------+-----------------------------------------

Reporter: Ivan Chernoff | Owner: Ivan Chernoff
Type: New feature | Status: assigned
Component: Utilities | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------

Comment (by Ivan Chernoff):

Made simple implementation in PR:
https://github.com/django/django/pull/8947

--
Ticket URL: <https://code.djangoproject.com/ticket/28510#comment:1>

Django

unread,
Aug 21, 2017, 3:11:41 AM8/21/17
to django-...@googlegroups.com
#28510: Add json reporter for debug view
-------------------------------+-----------------------------------------

Reporter: Ivan Chernoff | Owner: Ivan Chernoff
Type: New feature | Status: assigned
Component: Utilities | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------
Changes (by Claude Paroz):

* needs_better_patch: 0 => 1
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/28510#comment:2>

Django

unread,
Aug 21, 2017, 8:24:19 AM8/21/17
to django-...@googlegroups.com
#28510: Add JSON reporter for technical_500_response (debug) view
---------------------------------+-----------------------------------------

Reporter: Ivan Chernoff | Owner: Ivan Chernoff
Type: New feature | Status: assigned
Component: Error reporting | Version: master

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
---------------------------------+-----------------------------------------
Changes (by Tim Graham):

* component: Utilities => Error reporting


--
Ticket URL: <https://code.djangoproject.com/ticket/28510#comment:3>

Django

unread,
Mar 17, 2018, 1:03:07 PM3/17/18
to django-...@googlegroups.com
#28510: Add JSON reporter for technical_500_response (debug) view
---------------------------------+-----------------------------------------
Reporter: Ivan Chernoff | Owner: Ivan Chernoff
Type: New feature | Status: closed

Component: Error reporting | Version: master
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
---------------------------------+-----------------------------------------
Changes (by Tim Graham):

* status: assigned => closed
* resolution: => wontfix


Comment:

The reporter has withdrawn the ticket, "I don't think this is a needed one
after all."

--
Ticket URL: <https://code.djangoproject.com/ticket/28510#comment:4>

Reply all
Reply to author
Forward
0 new messages