#15132: The runserver command is missing --verbosity and --traceback
-------------------------------------+-------------------------------------
Reporter: cardonbj | Owner: nobody
Type: | Status: reopened
Uncategorized | Component: django-admin.py
Milestone: | runserver
Version: 1.2 | Severity: Normal
Resolution: | Keywords:
Triage Stage: | Has patch: 0
Unreviewed | Needs tests: 0
Needs documentation: 0 | Easy pickings: 0
Patch needs improvement: 0 |
UI/UX: 0 |
-------------------------------------+-------------------------------------
Changes (by zeraien):
* status: closed => reopened
* severity: => Normal
* cc: zeraien (added)
* resolution: wontfix =>
* easy: => 0
* ui_ux: => 0
* type: => Uncategorized
Comment:
There is a extension called django-extensions which has a runserver_plus
command, which runs a dev server with werkzeug debugger, but that is
beside the point. The main point is that this runserver_plus command
prints out a traceback of every exception thrown by the code.
This is very useful as the OP said in developing websites that use a lot
of AJAX or RPC requests, since having to manually read HTML when scanning
failed requests is bullocks.
At the very least there should be an is_ajax check that will return 500
errors with tracebacks in plain text for any ajax request, rather than
full HTML that it is now.
--
Ticket URL: <https://code.djangoproject.com/ticket/15132#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.