django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configur

时间:2015-02-22 23:06:53   收藏:0   阅读:1485
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就没问题了

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!