Closed Becky139 closed 1 year ago
Any images stored in static/img/ folder should display when deployed. Remember to delete the DISABLE_COLLECTSTATIC config var in Heroku Settings by clicking on the X.
When I deleted this config var and tried to redeploy, the build log stated python manage.py collectstatic --noinput.
This prompted a different approach to handling static files by installing the dotenv python package. From there i updated the requirements.txt file and settings.py and env.py files in the project before pushing them to GitHub again.
Any images stored in static/img/ folder should display when deployed.
Tried deleting the DISABLE_COLLECTSTATIC config var in Heroku Settings by clicking on the X. No effect.