formation_django/exemple/mon_site/mon_site/wsgi.py
2018-04-07 15:49:12 +02:00

17 lines
393 B
Python

"""
WSGI config for mon_site 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/2.0/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mon_site.settings")
application = get_wsgi_application()