Pycharm 2018.3 Python 3.7.1
尝试调试views.py时,控制台出现错误。
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.
当我使用python manage.py runserver时,服务器运行良好 但失败并显示错误
ModuleNotFoundError: No module named 'website'
网站是我的项目名称。