import sys import os sys.stdout = sys.stderr # temporary hack to switch version of django, since I'm not sure if hobu has # other sites dependent on the django installed in site-packages and avoids overwriting that install #django_path = ['/home/www/sr.org/django-svn-trunk'] #django_path.append(sys.path) #sys.path = django_path sys.path.append(os.path.dirname(os.path.abspath(__file__))) os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler()