DEV Community

Bkr05041992
Bkr05041992

Posted on

You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

can anyone explain or sole this. i got this while i am running my models.py

Top comments (0)

Image of Quadratic

Free AI chart generator

Upload data, describe your vision, and get Python-powered, AI-generated charts instantly.

Try Quadratic free