From 67d4f84d3274ffce449073d1209f29943cfccf06 Mon Sep 17 00:00:00 2001 From: adityacp Date: Tue, 16 Jan 2018 16:23:42 +0530 Subject: Change template, urls.py, views.py - Change show_video.html to empty module - Add condition to check if module is completed for the corresponding unit --- yaksh/urls.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'yaksh/urls.py') diff --git a/yaksh/urls.py b/yaksh/urls.py index d60a5d3..7eca5af 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -40,6 +40,8 @@ urlpatterns = [ views.view_module, name='view_module'), url(r'^next_unit/(?P\d+)/(?P\d+)/(?P\d+)/$', views.get_next_unit, name='next_unit'), + url(r'^next_unit/(?P\d+)/(?P\d+)/$', + views.get_next_unit, name='next_unit'), url(r'^next_unit/(?P\d+)/(?P\d+)/(?P\d+)/(?P\d+)/$', views.get_next_unit, name='next_unit'), url(r'^course_modules/(?P\d+)/$', -- cgit