diff options
Diffstat (limited to 'api/urls.py')
-rw-r--r-- | api/urls.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/urls.py b/api/urls.py index e81a275..3edf945 100644 --- a/api/urls.py +++ b/api/urls.py @@ -23,6 +23,11 @@ urlpatterns = [ views.AnswerValidator.as_view(), name='validators'), url(r'validate/(?P<uid>[0-9]+)/$', views.AnswerValidator.as_view(), name='validator'), + url(r'course/(?P<pk>[0-9]+)/$', + views.ICourse.as_view(), name='get_course'), + url(r'quit/(?P<answerpaper_id>\d+)/$', views.QuitQuiz.as_view(), + name="quit_quiz"), + url(r'login/$', views.login, name='login') ] urlpatterns = format_suffix_patterns(urlpatterns) |