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
相关文章
相关标签/搜索