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