You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would at least pin the django-environ version to 0.4.4 (doesn't support Django 2) where this is not happening but also consider replacing this package by using os.environ.get directly or think in other solutions since I am not confident that the library gets fixed,
The text was updated successfully, but these errors were encountered:
django-environ==0.4.5 package has an annoying bug where you cannot retrieve env variables if you play with the default option, example:
As you can see depending on the default value you could have unexpected results while trying to get you env variables.
You can follow this bug also in the package issue thread here: joke2k/django-environ#192
I would at least pin the django-environ version to 0.4.4 (doesn't support Django 2) where this is not happening but also consider replacing this package by using
os.environ.get
directly or think in other solutions since I am not confident that the library gets fixed,The text was updated successfully, but these errors were encountered: