Add optional gunicorn support to runserver
|Reported by:||Tim Graham||Owned by:||Berker Peksag|
|Component:||Core (Management commands)||Version:||master|
|Cc:||berker.peksag@…, cmawebsite@…, uranusjr@…||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
gunicorn has added a --reload option for code reloading which should lower the barrier of entry to removing our own HTTP server functionality.
Simply deprecating and removing the
runserver management command entirely may not be desirable. As Loic noted on IRC "even if we use gunicorn, we still need some special handling for the dev server, we run validate() and now there are some migrations checks going as well. So would we really deprecate runserver? rather than just change the underlying webserver it wraps?"
Michael Manfre also expressed concern the gunicorn does not currently work on Windows.
Aymeric suggested: "optional support for gunicorn could be an interesting start."
Change History (9)
comment:1 Changed 2 years ago by
|Owner:||changed from nobody to Berker Peksag|
|Status:||new → assigned|