annotate mysite/apache/madeira.wsgi @ 2:ffef0899826e

Created apache directory to hold the madeira.wsgi file.
author Brian Neal <bgneal@gmail.com>
date Fri, 10 Apr 2009 00:16:22 +0000
parents
children a411e22d73be
rev   line source
bgneal@2 1 import os
bgneal@2 2 import sys
bgneal@2 3
bgneal@2 4 sys.path.append('/var/local/django-sites/madeira/madeira-trunk')
bgneal@2 5 os.environ['PYTHON_EGG_CACHE'] = '/var/local/django-sites/madeira/eggs/'
bgneal@2 6 os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
bgneal@2 7
bgneal@2 8 import django.core.handlers.wsgi
bgneal@2 9
bgneal@2 10 application = django.core.handlers.wsgi.WSGIHandler()