bgneal@2: import os bgneal@2: import sys bgneal@2: bgneal@2: sys.path.append('/var/local/django-sites/madeira/madeira-trunk') bgneal@2: os.environ['PYTHON_EGG_CACHE'] = '/var/local/django-sites/madeira/eggs/' bgneal@2: os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' bgneal@2: bgneal@2: import django.core.handlers.wsgi bgneal@2: bgneal@2: application = django.core.handlers.wsgi.WSGIHandler()