+ 1

Django settings not configured error?

I am trying to run my URLS.py but I get this error : django.core.exceptions.Impromperly configured. Requested settings INSTALLED_APPS but settings are not configured My URLS.py file is in the main folder It says I should set DJANGO_SETTINGS_MODULE or call settings.configure() but I don't know how and where I should do it . I also don't know what DJANGO_SETTINGS_MODULE should be equal to

25th Oct 2021, 8:43 AM
Richard
Richard - avatar
4 Respuestas
+ 1
Hi again Richard, trouble with django after migrations? xd Maybe this link can help you: - https://stackoverflow.com/questions/39137339/django-exception-django-core-exceptions-improperlyconfigured For what i see, django need to be setup in order to run fine. Maybe you just need to do some stuff with settings before run your urls.py. If this link doesn't help you, try to copy paste your message exception on your browser and look for stackoverflow.
25th Oct 2021, 9:10 AM
Sudo-Ale
Sudo-Ale - avatar
27th Oct 2021, 9:04 AM
Richard
Richard - avatar
0
Well Sudo-Ale thanks for the help .Why do I even bother posting my question on Solo learn . Anyways I figured it out on my own and it wasn't exactly an enjoyable process . For those of you interested in the solution here :
27th Oct 2021, 8:51 AM
Richard
Richard - avatar
0
i'm haveing the same problem, i'm not seeing your solutions could your resend it
25th Feb 2023, 1:21 AM
mat