raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Requested setting REST_FRAMEWORK, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before acc

488 views
Skip to first unread message

Parrckk

unread,
Nov 28, 2022, 2:25:42 PM11/28/22
to Django users
I'am getting this error:

    raise ImproperlyConfigured(

django.core.exceptions.ImproperlyConfigured: Requested setting REST_FRAMEWORK, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.



Képkivágás.JPG
Reply all
Reply to author
Forward
0 new messages