Mercurial > public > madeira
annotate mysite/apache/madeira.wsgi @ 7:a411e22d73be
Updated paths in madeira.wsgi for the new server.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 22 May 2009 21:21:15 +0000 |
parents | ffef0899826e |
children | 186c30a29be4 |
rev | line source |
---|---|
bgneal@2 | 1 import os |
bgneal@2 | 2 import sys |
bgneal@2 | 3 |
bgneal@7 | 4 sys.path.append('/home/var/django-sites/madeira/django-trunk') |
bgneal@7 | 5 sys.path.append('/home/var/django-sites/madeira/madeira-trunk') |
bgneal@7 | 6 os.environ['PYTHON_EGG_CACHE'] = '/home/var/django-sites/madeira/eggs/' |
bgneal@2 | 7 os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' |
bgneal@2 | 8 |
bgneal@2 | 9 import django.core.handlers.wsgi |
bgneal@2 | 10 |
bgneal@2 | 11 application = django.core.handlers.wsgi.WSGIHandler() |