diff options
author | akhilbatra898 <akhil.batra@research.iiit.ac.in> | 2017-07-09 22:38:56 +0530 |
---|---|---|
committer | akhilbatra898 <akhil.batra@research.iiit.ac.in> | 2017-07-11 13:58:44 +0530 |
commit | 80c314359380e4bf568486080e60ae0aaa25d507 (patch) | |
tree | 367dc0b16e38be00685f401b9bf39868b4ee6135 /qtip/web/web/wsgi.py | |
parent | 5ad321a08cf289ca67a4a06580bb9803ca8e62e5 (diff) |
Setup Django framework for qtip web servies
- Add Django to dependancies
- Setup Django framework under name - web
- Add a new Django app with name - bench
Change-Id: Ib76d9402c9a43c1811cb6ef283232047d0cfb995
Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
Diffstat (limited to 'qtip/web/web/wsgi.py')
-rw-r--r-- | qtip/web/web/wsgi.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qtip/web/web/wsgi.py b/qtip/web/web/wsgi.py new file mode 100644 index 00000000..23d62e95 --- /dev/null +++ b/qtip/web/web/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for web 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.11/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "web.settings") + +application = get_wsgi_application() |