diff options
| author | Yuval Adam <_@yuv.al> | 2018-06-03 14:41:52 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2018-06-03 14:41:52 +0300 |
| commit | d285da4ebfb461633487901167f0097ea69766b0 (patch) | |
| tree | b3612a9cfce70630bd478f95c96cdcea134bead2 /mysite/wsgi.py | |
Initial commit of my first blog
Diffstat (limited to 'mysite/wsgi.py')
| -rw-r--r-- | mysite/wsgi.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mysite/wsgi.py b/mysite/wsgi.py new file mode 100644 index 0000000..74e7dae --- /dev/null +++ b/mysite/wsgi.py @@ -0,0 +1,16 @@ +""" +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.11/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings") + +application = get_wsgi_application() |
