Error in Django 🥵🥵🥵 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Error in Django 🥵🥵🥵

What does an error mean "raise ImproperlyConfigured( 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." What does it mean?

13th Aug 2023, 7:44 AM
python
1 Answer
+ 2
It:s telling you exactly what it means. Looks like you're trying to use something thay you have not added to your settings file. Take another look at the latter part of the error. It's giving you a solution you can try using.
14th Aug 2023, 12:41 PM
Justice
Justice - avatar