2019-08-02 12:57:53 +00:00
|
|
|
# -*- mode: python; coding: utf-8 -*-
|
|
|
|
# Copyright (C) 2017-2019 by BDE ENS Paris-Saclay
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2017-06-11 23:34:13 +00:00
|
|
|
|
|
|
|
"""
|
2017-06-30 01:25:07 +00:00
|
|
|
WSGI config for med project.
|
2017-06-11 23:34:13 +00:00
|
|
|
|
|
|
|
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.8/howto/deployment/wsgi/
|
|
|
|
"""
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
2019-08-02 12:57:53 +00:00
|
|
|
from os.path import dirname
|
2017-06-11 23:34:13 +00:00
|
|
|
|
2019-08-02 12:57:53 +00:00
|
|
|
from django.core.wsgi import get_wsgi_application
|
2017-06-11 23:34:13 +00:00
|
|
|
|
|
|
|
sys.path.append(dirname(dirname(__file__)))
|
2017-06-30 01:25:07 +00:00
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "med.settings")
|
2017-06-11 23:34:13 +00:00
|
|
|
|
|
|
|
application = get_wsgi_application()
|