summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2018-01-19 22:28:17 +0530
committerGitHub2018-01-19 22:28:17 +0530
commitb78b5d0b46114caefca35e82c502d1f7598e8e59 (patch)
treea38164139a46eaad8696eaa12ef05f7f06f8358c /yaksh/urls.py
parent0824e419c6aa52bb9b788db1208dc2b70c104d8f (diff)
parent1ab5018b89f6d566471eba26b1d206b1b142b8a0 (diff)
downloadonline_test-b78b5d0b46114caefca35e82c502d1f7598e8e59.tar.gz
online_test-b78b5d0b46114caefca35e82c502d1f7598e8e59.tar.bz2
online_test-b78b5d0b46114caefca35e82c502d1f7598e8e59.zip
Merge pull request #426 from adityacp/fix_lessons_redirect
Fix lessons related bug
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 1357279..08c2091 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<course_id>\d+)/(?P<module_id>\d+)/(?P<current_unit_id>\d+)/$',
views.get_next_unit, name='next_unit'),
+ url(r'^next_unit/(?P<course_id>\d+)/(?P<module_id>\d+)/$',
+ views.get_next_unit, name='next_unit'),
url(r'^next_unit/(?P<course_id>\d+)/(?P<module_id>\d+)/(?P<current_unit_id>\d+)/(?P<first_unit>\d+)/$',
views.get_next_unit, name='next_unit'),
url(r'^course_modules/(?P<course_id>\d+)/$',