ImproperlyConfigured: You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
I was trying to configure my Django project to deploy to Heroku. I am getting the following error and I don’t really know how to fix it.