server/wsgi.py
author rougeronj
Fri, 22 May 2015 12:37:37 +0200
changeset 90 faf2cdb47813
parent 12 1ada9d221ba3
permissions -rw-r--r--
remove "comment" from the model. Copy the 'comment' field of Jamespot in the 'description' field of the model instead
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()