diff 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 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()