Mercurial > public > madeira
changeset 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 | 0dcfcdf50c62 |
children | a01e3be404e4 |
files | mysite/apache/madeira.wsgi |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mysite/apache/madeira.wsgi Fri Apr 10 00:16:22 2009 +0000 @@ -0,0 +1,10 @@ +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()