Starts a lightweight development Web server on the local machine.
...
DO NOT USE THIS SERVER IN A PRODUCTION SETTING. It has not gone
through security audits or performance tests. (And that’s how it’s
gonna stay. We’re in the business of making Web frameworks, not Web
servers, so improving this server to be able to handle a production
environment is outside the scope of Django.)
https://docs.djangoproject.com/en/2.2/ref/django-admin/#runserver
此外,Gunicorn还可以创建多个worker来监听同一个socket,这使得web应用程序能够并行地服务HTTP请求
相关问题 更多 >
编程相关推荐