summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-04-27 13:51:06 +0530
committerGitHub2020-04-27 13:51:06 +0530
commit53a0c4ad3e733f3960000527f83565f2fd8fc412 (patch)
treeb3111bb5f317ec1ca12b173a3bce8b6a7e1b9c62 /yaksh/urls.py
parent01c9faa0abeedb748600c35a35bd6cf8124bd64d (diff)
parent2116310ed81ed81035a25ccc5746e8114b6a7b24 (diff)
downloadonline_test-53a0c4ad3e733f3960000527f83565f2fd8fc412.tar.gz
online_test-53a0c4ad3e733f3960000527f83565f2fd8fc412.tar.bz2
online_test-53a0c4ad3e733f3960000527f83565f2fd8fc412.zip
Merge pull request #690 from CruiseDevice/forum
Discussion Forum for Yaksh
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 6085c51..149e4d6 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -59,6 +59,18 @@ urlpatterns = [
views.get_next_unit, name='next_unit'),
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+)/post/(?P<uuid>[0-9a-f-]+)/$',
+ views.post_comments,
+ name='post_comments'),
+ url(r'^forum/(?P<course_id>\d+)/post/(?P<uuid>[0-9a-f-]+)/delete/',
+ views.hide_post,
+ name='hide_post'),
+ 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,