22 lines
555 B
Python
22 lines
555 B
Python
"""
|
|
WSGI config for medinf 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
|
|
import logging
|
|
import medinf.settings
|
|
from django.core.wsgi import get_wsgi_application
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "medinf.settings")
|
|
|
|
log = logging.getLogger(__name__)
|
|
log.info("Starting in %s Environment" % ('DEV' if medinf.settings.DEVELOPMENT else 'PROD'))
|
|
|
|
application = get_wsgi_application()
|
|
|