#28501: django runserver crashes when run as a module
-----------------------------------------+------------------------
Reporter: Chris Darko | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.11
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
In the interests of keeping code modular, we do not use `manage.py
runserver` in our projects. Instead, we use `django-admin runserver`.
This works well, but if one wants to run python with some flags, using the
django module, it is insufficient.
It would be ideal if `python -m django runserver` worked, for this reason.
Currently, attempting to do so will yield an import error with similar to
the attached traceback.
--
Ticket URL: <https://code.djangoproject.com/ticket/28501>
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/051.df315375a9aaacdbca59d11a43103c8e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.