server/wsgi.py
author rougeronj
Thu, 04 Jun 2015 20:07:25 +0200
changeset 111 6b397990e314
parent 12 1ada9d221ba3
permissions -rw-r--r--
add an ammico view to login automatically with jwt and serve the ammico app
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     1
"""
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     2
WSGI config for ammico project.
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     3
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     4
It exposes the WSGI callable as a module-level variable named ``application``.
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     5
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     6
For more information on this file, see
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     7
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     8
"""
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
     9
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
    10
import os
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
    11
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
    12
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
    13
from django.core.wsgi import get_wsgi_application
1ada9d221ba3 init django server
rougeronj
parents:
diff changeset
    14
application = get_wsgi_application()