django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
please anyone should help asap i have tried everything possible even this " ```
The documentation on the ImproperlyConfigured exception identifies the possibility that you have something wrong with the syntax in your settings.py file.
Please post your settings.py file here if you’d like us to take a look at it. If you do so, please enclose it between two lines consisting only of three backtick (`) characters, so that you would have 1 line of ```, followed by your settings.py file, followed by another line of ```. (Also, be sure that you use the backtick - ` and not the apostrophe - ')
Additionally, there are other possible causes of this error.
What command are you trying to run that is generating this error?
What is your “current directory” when you’re running the command generating that error?
Do you have a directory under your current directory named mysite? Is that the directory containing your settings.py file?