From 34f37c3a599b71862980eaebaf26019d0d46602c Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Wed, 30 Sep 2009 22:27:57 +0100 Subject: [PATCH 1/1] add in wsgi script --- sommitrealweird/django.wsgi | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 sommitrealweird/django.wsgi diff --git a/sommitrealweird/django.wsgi b/sommitrealweird/django.wsgi new file mode 100644 index 0000000..3fa5191 --- /dev/null +++ b/sommitrealweird/django.wsgi @@ -0,0 +1,9 @@ +import os, sys +sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) +sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '.'))) +sys.path.append('/usr/local/django') +os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' + +import django.core.handlers.wsgi + +application = django.core.handlers.wsgi.WSGIHandler() -- 2.39.5