diff options
Diffstat (limited to 'api/urls.py')
-rw-r--r-- | api/urls.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/api/urls.py b/api/urls.py index be276da..5dfd8c7 100644 --- a/api/urls.py +++ b/api/urls.py @@ -11,9 +11,10 @@ urlpatterns = [ url(r'quizzes/(?P<pk>[0-9]+)/$', views.QuizDetail.as_view(), name='quiz'), url(r'questionpapers/$', views.QuestionPaperList.as_view(), name='questionpapers'), - url(r'questionpapers/(?P<pk>[0-9]+)/$', views.QuestionPaperDetail.as_view(), - name='questionpaper'), - url(r'answerpapers/$', views.AnswerPaperList.as_view(), name='answerpapers'), + url(r'questionpapers/(?P<pk>[0-9]+)/$', + views.QuestionPaperDetail.as_view(), name='questionpaper'), + url(r'answerpapers/$', views.AnswerPaperList.as_view(), + name='answerpapers'), url(r'validate/(?P<answerpaper_id>[0-9]+)/(?P<question_id>[0-9]+)/$', views.AnswerValidator.as_view(), name='validators'), url(r'validate/(?P<uid>[0-9]+)/$', |