diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2018-04-15 16:29:30 +0100 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2018-04-15 16:29:30 +0100 |
commit | e1eea7088f8a205a434683b75c3b7f5b96d89840 (patch) | |
tree | f1cfd99d88b4a7a81272fd6264556a6c5adb66ff /wsgi.py | |
parent | 760fa3114f553e4dac1842c82ef0233d2a123b53 (diff) | |
download | troggle-e1eea7088f8a205a434683b75c3b7f5b96d89840.tar.gz troggle-e1eea7088f8a205a434683b75c3b7f5b96d89840.tar.bz2 troggle-e1eea7088f8a205a434683b75c3b7f5b96d89840.zip |
Django 1.7 wsgi.py
Diffstat (limited to 'wsgi.py')
-rw-r--r-- | wsgi.py | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +""" +WSGI config for mysite project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ +""" + +import os +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings") + +from django.core.wsgi import get_wsgi_application +application = get_wsgi_application() |