diff options
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 aaed150..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'^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 e40661a..5aee28e 100644 --- a/website/views.py +++ b/website/views.py @@ -68,6 +68,11 @@ def jobfair(request): template = loader.get_template('job-fair.html') return HttpResponse(template.render(context, request)) +def workshops(request): + context = {} + template = loader.get_template('workshops.html') + return HttpResponse(template.render(context, request)) + # def proposal(request): # context = {} # template = loader.get_template('proposal.html') |