[Fixed]-Django : Heroku deploy Error 500 on app pages but admin working

1👍

Okay finally after going through many posts over this issues got the culprit.

There were few css images that weren’t being properly added, after adding all the css files the project finally is running.

Just a heads up for everyone who are deploying using whitenoise, try to run the heroku app locally from cli. Try to run collectstatic and if there are any other commands that are probably used on the heroku.

Do add the ADMIN and

EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = os.getenv('email')
EMAIL_HOST_PASSWORD = os.getenv('pass')
EMAIL_PORT = 587
EMAIL_USE_TLS = True
SERVER_EMAIL = EMAIL_HOST_USER

they come handy if anythign fails.

👤kt14

Leave a comment