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 have this error: django.core.exceptions.ImproperlyConfigured: Set the DJANGO_SECRET_KEY environment variable
My .env file is next to .env.exemple.
Do you think we have to switch to os lib?
The text was updated successfully, but these errors were encountered:
I don't think so. You just need to export envs, it's in the article: export $(cat .env | xargs). Also django-environ works very well just need to tweak a bit, I guess. Maybe add the line loading envs from a file.
I have this error: django.core.exceptions.ImproperlyConfigured: Set the DJANGO_SECRET_KEY environment variable
My .env file is next to .env.exemple.
Do you think we have to switch to os lib?
The text was updated successfully, but these errors were encountered: