我收到以下错误:
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.
我不知道去哪里找
1条答案
按热度按时间rqqzpn5f1#
确保您没有删除
settings.py
中的INSTALLED_APPS
列表。类似于: