import os, sys

path = os.path.abspath(os.path.dirname(__file__)+'/../../')

#path = '/home/ntuh/domains/adm.ntuh.net/ntuh'

sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'ntuh.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

path2 = '%s/ntuh/' % path
if path2 not in sys.path:
    sys.path.append(path2)
