【问题标题】:gunicorn and django project (no app)gunicorn 和 django 项目(无应用程序)
【发布时间】:2011-07-19 13:14:59
【问题描述】:

我有一个 django 项目,我想用 gunicorn/nginx 部署它。 但是我直接使用settings.py urls.py views.py 没有启动django应用,gunicorn需要应用名。

如何部署一个没有应用程序的 django 项目。

【问题讨论】:

    标签: django gunicorn


    【解决方案1】:

    gunicorn_django 命令不需要应用程序名称。只需在您的 projetc 文件夹中运行 gunicorn_django 命令或将设置路径告诉他

    http://gunicorn.org/run.html#gunicorn-django

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-04-08
      • 2021-11-05
      • 2013-12-08
      • 2020-07-14
      • 1970-01-01
      • 1970-01-01
      • 2019-10-18
      相关资源
      最近更新 更多