From 6e97fc4ce85cdd3abe6f238cc58ae5f6bace876e Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Tue, 9 Oct 2018 16:14:34 +0530 Subject: Added dwsim qiz template to display intro --- website/urls.py | 2 +- website/views.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'website') diff --git a/website/urls.py b/website/urls.py index 2d4e8d8..136afc9 100644 --- a/website/urls.py +++ b/website/urls.py @@ -16,7 +16,7 @@ urlpatterns = [ #path('proposal/submitcfp', views.submitcfp, name='submitcfp'), #path('accounts/register', views.userregister, name='userregister'), - + re_path(r'^dwsimquiz/$', views.dwsimquiz, name='dwsimquiz'), re_path(r'^cfp/$', views.cfp, name='cfp'), re_path(r'^submit-cfp/$', views.submitcfp, name='submitcfp'), re_path(r'^submit-cfw/$', views.submitcfw, name='submitcfw'), diff --git a/website/views.py b/website/views.py index 7e10006..6a4aeac 100644 --- a/website/views.py +++ b/website/views.py @@ -46,6 +46,11 @@ def cfp(request): context = {} template = loader.get_template('cfp.html') return HttpResponse(template.render(context, request)) + +def dwsimquiz(request): + context = {} + template = loader.get_template('dwsim-quiz.html') + return HttpResponse(template.render(context, request)) # def proposal(request): # context = {} -- cgit