OnlineJudge/oj/wsgi.py
2015-08-02 08:59:01 +08:00

17 lines
384 B
Python

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