summaryrefslogtreecommitdiff
path: root/website/views.py
diff options
context:
space:
mode:
authorprashantsinalkar2018-08-13 11:28:49 +0530
committerprashantsinalkar2018-08-13 11:29:01 +0530
commit03841a2e16520b08aaa5b54b77eec5262b25482e (patch)
tree85f6497e0d8477ab9b75a50ae39eba0fede0776c /website/views.py
parent68f46157a41ce8c25e366ef4567a895f40f53725 (diff)
downloadSciPy2018-03841a2e16520b08aaa5b54b77eec5262b25482e.tar.gz
SciPy2018-03841a2e16520b08aaa5b54b77eec5262b25482e.tar.bz2
SciPy2018-03841a2e16520b08aaa5b54b77eec5262b25482e.zip
added login url and view
Diffstat (limited to 'website/views.py')
-rw-r--r--website/views.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/website/views.py b/website/views.py
index 4b6f624..f9d143a 100644
--- a/website/views.py
+++ b/website/views.py
@@ -10,3 +10,10 @@ def index(request):
context = {}
template = loader.get_template('index.html')
return HttpResponse(template.render(context, request))
+
+def login(request):
+ context = {}
+ context['navbar_style'] = 'none'
+ template = loader.get_template('login.html')
+ return HttpResponse(template.render(context, request))
+