DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.錯誤解決方法

昨天在運行Django的數據庫建模時報錯:django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SE
相關文章
相關標籤/搜索