In all the tutorials I found, they suggested creating Procfilefor deployment in heroku with the following line:
web: gunicorn ProjectName.wsgi --log-file -
Since I use Django 1.8 and in the .py setup, I have this:
WSGI_APPLICATION = 'ProjectName.wsgi.application'
I thought this would work:
web: gunicorn ProjectName.wsgi.application --log-file -
but it is not, the error was ImportError: No module named application
source
share