Skip to main content
 首页 » 编程设计

python之默认情况下,django 中有哪个 Web 服务器

2024年09月07日30小虾米

在 Django 中,默认使用哪个 Web 服务器托管网站? 即如果我们在本地托管 django 支持的网站,那时候哪个 Web 服务器在 django 中运行?

请您参考如下方法:

Django 使用自己的网络服务器,不应该在生产环境中使用。

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/dev/ref/django-admin/#runserver