From: Brett Parker Date: Wed, 30 Sep 2009 21:27:57 +0000 (+0100) Subject: add in wsgi script X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/commitdiff_plain/34f37c3a599b71862980eaebaf26019d0d46602c?hp=--cc add in wsgi script --- 34f37c3a599b71862980eaebaf26019d0d46602c 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()