OpenDroneMap-WebODM/webodm/wsgi.py

18 wiersze
450 B
Python

"""
WSGI config for webodm 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.10/howto/deployment/wsgi/
"""
import os
from multiprocessing import Value
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webodm.settings")
application = get_wsgi_application()
booted = Value('b', False)