summaryrefslogtreecommitdiff
path: root/api/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/urls.py')
-rw-r--r--api/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/urls.py b/api/urls.py
index 5dfd8c7..22a9b54 100644
--- a/api/urls.py
+++ b/api/urls.py
@@ -7,6 +7,9 @@ urlpatterns = [
url(r'questions/$', views.QuestionList.as_view(), name='questions'),
url(r'questions/(?P<pk>[0-9]+)/$', views.QuestionDetail.as_view(),
name='question'),
+ url(r'get_courses/$', views.CourseList.as_view(), name='get_courses'),
+ url(r'start_quiz/(?P<course_id>[0-9]+)/(?P<quiz_id>[0-9]+)/$', views.StartQuiz.as_view(),
+ name='start_quiz'),
url(r'quizzes/$', views.QuizList.as_view(), name='quizzes'),
url(r'quizzes/(?P<pk>[0-9]+)/$', views.QuizDetail.as_view(), name='quiz'),
url(r'questionpapers/$', views.QuestionPaperList.as_view(),