From e3a061f50b538e88884a0e89b99d40f6a0e193c3 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 17 Apr 2015 19:30:20 +0200 Subject: Install scripts --- install/django.wsgi.template | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 install/django.wsgi.template (limited to 'install/django.wsgi.template') diff --git a/install/django.wsgi.template b/install/django.wsgi.template new file mode 100644 index 000000000..54bf07351 --- /dev/null +++ b/install/django.wsgi.template @@ -0,0 +1,7 @@ +import os, sys +MAIN_PATH = os.path.realpath(os.path.dirname(__file__)) + "/.." +sys.path.append(MAIN_PATH) +os.environ['DJANGO_SETTINGS_MODULE'] = '#SHORT_NAME#.settings' +import django.core.handlers.wsgi +application = django.core.handlers.wsgi.WSGIHandler() + -- cgit v1.2.3