diff options
author | CruiseDevice | 2020-03-30 22:11:05 +0530 |
---|---|---|
committer | CruiseDevice | 2020-03-30 22:39:25 +0530 |
commit | ec8e7485a8306dd9851d134578d3721abc7b9e8a (patch) | |
tree | 8d418438df55798709ed745c48397d5aa0050530 /api/urls.py | |
parent | 7d75a279112bce3969d2d4a2b70d74dd67570e29 (diff) | |
download | online_test-ec8e7485a8306dd9851d134578d3721abc7b9e8a.tar.gz online_test-ec8e7485a8306dd9851d134578d3721abc7b9e8a.tar.bz2 online_test-ec8e7485a8306dd9851d134578d3721abc7b9e8a.zip |
Add Login endpoint, quit quiz endpoint
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) |