Configuring gunicorn for Django on Heroku
问题 I'm trying to setup a test Django project on Heroku. Following the advice here and in the Heroku Getting Started I'm trying to use gunicorn instead of the Django dev server. This was my first attempt at the Procfile: web: gunicorn_django --workers=4 --bind=0.0.0.0:$PORT my_project/settings.py worker: python my_project/manage.py celeryd -E -B --loglevel=INFO This gave me this error: ImportError: Could not import settings 'settings.py' (Is it on sys.path?): No module named py I decided to take