Mercurial > public > madeira
view mysite/apache/madeira.wsgi @ 22:ccb0f675427e django1.3
Making a branch to upgrade the code to Django 1.3.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 28 Mar 2011 01:59:09 +0000 |
parents | a411e22d73be |
children | 186c30a29be4 |
line wrap: on
line source
import os import sys sys.path.append('/home/var/django-sites/madeira/django-trunk') sys.path.append('/home/var/django-sites/madeira/madeira-trunk') os.environ['PYTHON_EGG_CACHE'] = '/home/var/django-sites/madeira/eggs/' os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler()