Django—问题解决 django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured.

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.

需要创建启动器

 

 

 

posted @ 2021-01-26 22:31  mkay  阅读(2630)  评论(0编辑  收藏  举报