django.core.exceptions.ImproperlyConfigured: Requested setti

django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

import xadmin时出了这个问题,很奇怪

先migrate后再runserver就没问题了

有新进展,,发现不是pip install django-xadmin而是直接下载了xadmin,然后python setup.py install后运行包里的demo_apps后,xadmin就正常使用了

目前,还是感叹自己水平不行!不能知道更深一层!

往往为了自己的不能失败,而处心积虑前怕狼后怕虎,

django.core.exceptions.ImproperlyConfigured: Requested setti

相关文章:

你感兴趣的文章:

标签云: