view 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
line wrap: on
line source
import os
import sys

sys.path.append('/var/local/django-sites/madeira/madeira-trunk')
os.environ['PYTHON_EGG_CACHE'] = '/var/local/django-sites/madeira/eggs/'
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'

import django.core.handlers.wsgi

application = django.core.handlers.wsgi.WSGIHandler()