diff options
author | makefu <github@syntax-fehler.de> | 2019-08-20 08:20:53 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-08-20 08:20:53 +0200 |
commit | 20c9dba737113b683b3fe9fea18c5fe479407ada (patch) | |
tree | 8d6c9291ce0e2dfeb4091b9e3eaa94c7d0bee3f1 /yacos/wsgi.py |
Diffstat (limited to 'yacos/wsgi.py')
-rw-r--r-- | yacos/wsgi.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/yacos/wsgi.py b/yacos/wsgi.py new file mode 100644 index 0000000..522aa82 --- /dev/null +++ b/yacos/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for yacos 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/2.2/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'yacos.settings') + +application = get_wsgi_application() |