From 0a1df162023c1134427f182b9319048b033ecc79 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 20 Jul 2011 17:06:26 -0400 Subject: [PATCH] adding proper wsgi file --- brodidyouhear/apache/brodidyouhear.wsgi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/brodidyouhear/apache/brodidyouhear.wsgi b/brodidyouhear/apache/brodidyouhear.wsgi index e69de29..e9c911c 100644 --- a/brodidyouhear/apache/brodidyouhear.wsgi +++ b/brodidyouhear/apache/brodidyouhear.wsgi @@ -0,0 +1,11 @@ +import os +import sys + +path = '/srv/www/brodidyouhear.com' +if path not in sys.path: + sys.path.insert(0, '/srv/www/brodidyouhear.com') + +os.environ['DJANGO_SETTINGS_MODULE'] = 'brodidyouhear.settings' + +import django.core.handlers.wsgi +application = django.core.handlers.wsgi.WSGIHandler()