Open
Description
We use dotenv on our project/wsgi.py
and project/celery.py
for local development where we do have a .env
. When we deploy to Heroku our logs get polluted with UserWarnings.
Workaround is to do the following:
with warnings.catch_warnings():
warnings.simplefilter('ignore')
dotenv.read_dotenv()
Metadata
Metadata
Assignees
Labels
No labels