diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-04-17 19:30:20 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-04-17 19:33:43 +0200 |
commit | f57f79d40b9a6c8cc1333165ee11a341c78be181 (patch) | |
tree | 9111c25f355c8b5f4d4d612a52505af3c5cf04fd /install/django.wsgi.template | |
parent | d2715ef9bee36243ee4c07a5b1bd869f5cc81456 (diff) | |
download | Ishtar-f57f79d40b9a6c8cc1333165ee11a341c78be181.tar.bz2 Ishtar-f57f79d40b9a6c8cc1333165ee11a341c78be181.zip |
Install scripts
Diffstat (limited to 'install/django.wsgi.template')
-rw-r--r-- | install/django.wsgi.template | 7 |
1 files changed, 7 insertions, 0 deletions
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() + |