django-devserver icon indicating copy to clipboard operation
django-devserver copied to clipboard

Werkzeug should use threading=True by default

Open joeyespo opened this issue 9 years ago • 1 comments

The Django development server is multithreaded by default. Werkzeug is not, but you can enable it.

Django-devserver should mimic the default Django behavior and pass threading=True to run_simple (unless --nothreading is passed to runserver.)

joeyespo avatar Jun 04 '15 02:06 joeyespo

For the record, the --nothreading option is needed when using certain DB drivers that don't support multithreading. I'm looking at you, Microsoft: https://msdn.microsoft.com/en-us/library/hh568451%28v=sql.110%29.aspx

FlipperPA avatar Jun 04 '15 14:06 FlipperPA