1
kaiix 2011-07-07 08:47:40 +08:00
Do you use this in the source code: import settings from django.conf?
Try to fix this by environment injection: import sys import os sys.path.append(abs_path_to_project) os.environ['DJANGO_SETTINGS_MODULE']='prj.settings' or just import settings not from django.conf for details, plz look into django's source code :p |