#27522: ./manage runserver --nostatic doesn't return a traceback
-------------------------------------+-------------------------------------
Reporter: Jeroen van Veen | Owner: nobody
Type: Bug | Status: assigned
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: runserver nostatic | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jeroen van Veen):
* needs_tests: 1 => 0
Old description:
> When running `./manage runserver --nostatic`, I expect a traceback to be
> returned when
> a syntax error occurs, and I expect the autoreloader still to be
> available. Instead, the
> runserver command exits like:
>
> {{{
> usage: manage.py runserver [-h] [--version] [-v {0,1,2,3}]
> [--settings SETTINGS] [--pythonpath
> PYTHONPATH]
> [--traceback] [--no-color] [--ipv6]
> [--nothreading]
> [--noreload]
> [addrport]
> manage.py runserver: error: unrecognized arguments: --nostatic
> }}}
New description:
When running ./manage runserver --nostatic, I expect a traceback to be
returned when
a syntax error occurs, and I expect the autoreloader still to be
available. Instead, the
runserver command exits like:
{{{
usage: manage.py runserver [-h] [--version] [-v {0,1,2,3}]
[--settings SETTINGS] [--pythonpath PYTHONPATH]
[--traceback] [--no-color] [--ipv6]
[--nothreading]
[--noreload]
[addrport]
manage.py runserver: error: unrecognized arguments: --nostatic
}}}
Ticket: https://github.com/wearespindle/django/tree/ticket_27522
--
Comment:
I'm trying to figure out where this test should be placed.
--
Ticket URL: <https://code.djangoproject.com/ticket/27522#comment:10>
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/066.bc8aa366b7c471352eafa38ca20c016f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.