summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorSashi202018-11-06 12:31:51 +0530
committerGitHub2018-11-06 12:31:51 +0530
commit894b700dac72674b4c3d8bcc5ba3f15ff67303f4 (patch)
tree6f6a20083a8ac5d64300a59e27fbcd2ea718dc62 /website
parent6e4bfa40c3aae76c27c57d25f0d7761eb411f0c6 (diff)
parent2f697bb58fa5f42fdc021783110fcc40f4e7b592 (diff)
downloadnccps-2018-894b700dac72674b4c3d8bcc5ba3f15ff67303f4.tar.gz
nccps-2018-894b700dac72674b4c3d8bcc5ba3f15ff67303f4.tar.bz2
nccps-2018-894b700dac72674b4c3d8bcc5ba3f15ff67303f4.zip
Merge pull request #54 from Sashi20/master
Re-arranged navigation menu and added workshops section in home page
Diffstat (limited to 'website')
-rw-r--r--website/urls.py2
-rw-r--r--website/views.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/website/urls.py b/website/urls.py
index 4d959c3..841f338 100644
--- a/website/urls.py
+++ b/website/urls.py
@@ -15,7 +15,7 @@ urlpatterns = [
#path('proposal/view', views.view_abstracts, name='view_abstracts'),
#path('proposal/submitcfp', views.submitcfp, name='submitcfp'),
#path('accounts/register', views.userregister, name='userregister'),
- re_path(r'^workshop/$', views.workshop, name='workshop'),
+ re_path(r'^workshops/$', views.workshops, name='workshops'),
re_path(r'^dwsimquiz/$', views.dwsimquiz, name='dwsimquiz'),
re_path(r'^jobfair/$', views.jobfair, name='jobfair'),
re_path(r'^cfp/$', views.cfp, name='cfp'),
diff --git a/website/views.py b/website/views.py
index 3a21f94..5aee28e 100644
--- a/website/views.py
+++ b/website/views.py
@@ -68,7 +68,7 @@ def jobfair(request):
template = loader.get_template('job-fair.html')
return HttpResponse(template.render(context, request))
-def workshop(request):
+def workshops(request):
context = {}
template = loader.get_template('workshops.html')
return HttpResponse(template.render(context, request))