#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: 1 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Tim Graham):
* has_patch: 0 => 1 * needs_tests: 0 => 1 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 > }}} > > Ticket: https://github.com/wearespindle/django/tree/ticket_27522 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 }}} -- Comment: [https://github.com/django/django/pull/7595 PR] (currently without tests) -- Ticket URL: <https://code.djangoproject.com/ticket/27522#comment:9> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.284cc977f4f809a34b25117ca9af4187%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.