Python app import error in Django with WSGI gunicorn

后端 未结 3 1507
感动是毒
感动是毒 2021-01-13 07:34

I\'m trying to deploy a Django app with gunicorn on Heroku and I\'ve run into a few hitches.

When I began my project my Django version was 1.3 and didn\'t contain th

3条回答
  •  無奈伤痛
    2021-01-13 08:03

    Add "gunicorn" into settings.py/INSTALLED_APPS and use

    python manage.py run_gunicorn 127.0.0.0:8001
    

    (whatever the port you like) For more info visit : https://pypi.python.org/pypi/gunicorn/

提交回复
热议问题