When Deploying Django To Heroku: Modulenotfounderror: No Module Named 'env'
When deploying Django to Heroku, I get a ModuleNotFoundError: No module named 'env' error. Anyone know why it is looking for that module? Here is my requirements.txt: asgiref==3.2.
Solution 1:
either remove the import env
code from the settings.py file and run this code
heroku config:set DISABLE_COLLECTSTATIC=1
Post a Comment for "When Deploying Django To Heroku: Modulenotfounderror: No Module Named 'env'"