From 021df77ad613b1c743b0424d11abf8383660ccf7 Mon Sep 17 00:00:00 2001 From: Quyk4tvoj <116157770@qq.com> Date: Fri, 28 May 2021 23:15:39 +0800 Subject: [PATCH] wsgi.py --- onlineExam/wsgi.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 onlineExam/wsgi.py diff --git a/onlineExam/wsgi.py b/onlineExam/wsgi.py new file mode 100644 index 0000000..b686233 --- /dev/null +++ b/onlineExam/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for onlineExam 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.1/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'onlineExam.settings') + +application = get_wsgi_application() \ No newline at end of file