R
R
RayOtto2019-08-15 07:21:33
Django
RayOtto, 2019-08-15 07:21:33

How to correctly generate a Procfile for a Django project for Heroku?

Good afternoon.
I use this documentation Configuring Django Apps for Heroku .
I try to specify the path to wsgi, but I still get an error.
heroku logs Procfile
5d54dcde51456452720659.png
Project
web: gunicorn app.blogengine.blogengine.wsgi
structure
5d54dd2a95a67847439237.png
requirements.txt

dj-database-url==0.5.0
Django==2.2.3
django-heroku==0.3.1
gunicorn==19.9.0
psycopg2==2.8.3
pytz==2019.1
sqlparse==0.3.0
whitenoise==4.1.2

Added to settings.py
# Configure Django App for Heroku.
import django_heroku
django_heroku.settings(locals())

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question