Py学习  »  问与答

django.core.exceptions.ImproperlyConfigured

HelloSam • 10 年前 • 3415 次点击  

遇到了一个这样的问题: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社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/1191