summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorCruiseDevice2020-04-13 17:27:49 +0530
committerCruiseDevice2020-04-13 17:27:49 +0530
commit2f9331717075b34534f2745706f57a98f7dce20d (patch)
treee942155f11e47299d7deb5447267c0055e49d4de /yaksh/urls.py
parent0e6c7d589114450d5cd1bc581ee1692c235f1a73 (diff)
downloadonline_test-2f9331717075b34534f2745706f57a98f7dce20d.tar.gz
online_test-2f9331717075b34534f2745706f57a98f7dce20d.tar.bz2
online_test-2f9331717075b34534f2745706f57a98f7dce20d.zip
Add feature to hide thread or comments
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index a8aa224..1b86ae8 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -60,8 +60,10 @@ urlpatterns = [
url(r'^course_modules/(?P<course_id>\d+)/$',
views.course_modules, name='course_modules'),
url(r'^forum/(?P<course_id>\d+)/$', views.course_forum, name='course_forum'),
- url(r'^forum/(?P<course_id>\d+)/thread/(?P<uuid>[0-9a-f-]+)/', views.thread_comments, name='thread_comments'),
- url(r'^forum/(?P<course_id>\d+)/thread/(?P<uuid>[0-9a-f-]+)/delete/', views.delete_thread, name='delete_thread'),
+ url(r'^forum/(?P<course_id>\d+)/thread/(?P<uuid>[0-9a-f-]+)/$', views.thread_comments, name='thread_comments'),
+ url(r'^forum/(?P<course_id>\d+)/thread/(?P<uuid>[0-9a-f-]+)/delete/', views.hide_thread, name='hide_thread'),
+ url(r'^forum/(?P<course_id>\d+)/comment/(?P<uuid>[0-9a-f-]+)/delete/', views.hide_comment, name='hide_comment'),
+
url(r'^manage/$', views.prof_manage, name='manage'),
url(r'^manage/addquestion/$', views.add_question, name="add_question"),
url(r'^manage/addquestion/(?P<question_id>\d+)/$', views.add_question,