server/ammicosrv/wsgi.py
author rougeronj
Thu, 11 Jun 2015 16:23:34 +0200
changeset 174 fd166770bcee
parent 160 5c14df1134f0
permissions -rw-r--r--
increment version
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
160
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
     1
"""
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
     2
WSGI config for ammico project.
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
     3
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
     4
It exposes the WSGI callable as a module-level variable named ``application``.
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
     5
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
     6
For more information on this file, see
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
     7
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
     8
"""
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
     9
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
    10
import os
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
    11
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ammicosrv.settings.dev")
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
    12
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
    13
from django.core.wsgi import get_wsgi_application
5c14df1134f0 move back wsgi.py
rougeronj
parents:
diff changeset
    14
application = get_wsgi_application()