老师你好,运行django报错。
django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
如果运行整个项目可以 ,但是运行单独文件报错。
Django REST framework课程视频,RESTFul API前后端分离开发
了解课程