From 7e5608d0853d69358c14f9fb8fbd6465e21b8962 Mon Sep 17 00:00:00 2001 From: adityacp Date: Mon, 7 Sep 2020 12:53:08 +0530 Subject: Add edit and delete table of contents options --- yaksh/urls.py | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'yaksh/urls.py') diff --git a/yaksh/urls.py b/yaksh/urls.py index 2c462b3..d7fd410 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -241,18 +241,13 @@ urlpatterns = [ name='add_marker'), path('manage/add/lesson/topic///', views.add_topic, name='add_topic'), - path('manage/edit/lesson/topic////', - views.add_topic, name='edit_topic'), + path('manage/edit/lesson/topic////' + '/', views.add_topic, name='edit_topic'), path('manage/add/lesson/quiz///', views.add_marker_quiz, name='add_marker_quiz'), - path('manage/edit/lesson/quiz////', - views.add_marker_quiz, name='edit_marker_quiz'), - path('manage/add/lesson/exercise///', - views.add_marker_quiz, name='add_marker_quiz'), - path('manage/edit/lesson/exercise////', - views.add_marker_quiz, name='edit_marker_quiz'), - path('manage/add/lesson/poll///', - views.add_marker_quiz, name='add_marker_quiz'), - path('manage/edit/lesson/poll////', - views.add_marker_quiz, name='edit_marker_quiz') + path('manage/edit/lesson/quiz////' + '/', views.add_marker_quiz, + name='edit_marker_quiz'), + path('manage/remove/lesson/toc//', + views.delete_toc, name='delete_toc'), ] -- cgit