import os import sys sys.path.append('/home/hg/repos/') sys.path.append('/home/hg/repos/scipy/') os.environ['DJANGO_SETTINGS_MODULE'] = 'scipy.settings' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler()