mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-12-26 07:02:24 +00:00
24 lines
599 B
Python
24 lines
599 B
Python
# -*- mode: python; coding: utf-8 -*-
|
|
# Copyright (C) 2017-2019 by BDE ENS Paris-Saclay
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
"""
|
|
WSGI config for med 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.8/howto/deployment/wsgi/
|
|
"""
|
|
|
|
import os
|
|
import sys
|
|
from os.path import dirname
|
|
|
|
from django.core.wsgi import get_wsgi_application
|
|
|
|
sys.path.append(dirname(dirname(__file__)))
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "med.settings")
|
|
|
|
application = get_wsgi_application()
|