diff options
author | Sashi20 | 2018-10-09 16:16:00 +0530 |
---|---|---|
committer | GitHub | 2018-10-09 16:16:00 +0530 |
commit | 0b6026d35c70e2967ea0010439f7781c54ae9812 (patch) | |
tree | 800babff57cfc3b1b621bfd387c9329a579e12ba /website | |
parent | f2e673ece244d91778e60b9b21f7a566d06d09c3 (diff) | |
parent | 6e97fc4ce85cdd3abe6f238cc58ae5f6bace876e (diff) | |
download | nccps-2018-0b6026d35c70e2967ea0010439f7781c54ae9812.tar.gz nccps-2018-0b6026d35c70e2967ea0010439f7781c54ae9812.tar.bz2 nccps-2018-0b6026d35c70e2967ea0010439f7781c54ae9812.zip |
Merge pull request #22 from Sashi20/master
Added dwsim qiz template to display intro
Diffstat (limited to 'website')
-rw-r--r-- | website/urls.py | 2 | ||||
-rw-r--r-- | website/views.py | 5 |
2 files changed, 6 insertions, 1 deletions
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 = {} |