ImproperlyConfigured("The SECRET_KEY setting must not be empty.")

File “/opt/miniconda3/lib/python3.7/site-packages/django/conf/
init.py”, line 196, in init
raise ImproperlyConfigured(“The SECRET_KEY setting must not
be empty.”)
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY sett
ing must not be empty.

I am using an open source project on Git.
I have created a ´random´Secret_key as I expect you don’t leave your Secret:_key , debug and Database on the git.

what i´ve done_:
I found the .env.md and entered the random Secret_key in the Key Value as it says as was missing awaiting to be copied in.
I ran run server but it still says the same error.

the next things done:
I found the in the Django/conf/global settings
Entered there the Secret_ key as key value as it was missing.

I ran the server but it still says the same error.

Can anyone advise or this supposed to be for a stack overflow question=

Thank you for your advise.

It might help if you tell us which Open Source project you’re trying to use.