import os import sys import django sys.path.append('/'.join(os.getcwd().split('/')[:-1])') sys.path.append(os.path.join(os.getcwd(),'comments')) os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler()