Opened 8 years ago
Last modified 8 years ago
#27522 closed Bug
./manage runserver --nostatic doesn't return a traceback — at Version 9
Reported by: | Jeroen van Veen | Owned by: | nobody |
---|---|---|---|
Component: | Core (Management commands) | Version: | dev |
Severity: | Normal | Keywords: | runserver nostatic |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
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
Change History (9)
comment:2 by , 8 years ago
Description: | modified (diff) |
---|
comment:4 by , 8 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:5 by , 8 years ago
Version: | 1.10 → 1.8 |
---|
comment:6 by , 8 years ago
Keywords: | runserver nostatic added |
---|
comment:7 by , 8 years ago
Description: | modified (diff) |
---|---|
Version: | 1.8 → master |
comment:8 by , 8 years ago
I can reproduce the problem. Without taking a closer look, I'm not sure about the solution. If you could write a test, that would certainly help.
comment:9 by , 8 years ago
Description: | modified (diff) |
---|---|
Has patch: | set |
Needs tests: | set |
PR (currently without tests)
Note:
See TracTickets
for help on using tickets.
This is a workaround: