summaryrefslogtreecommitdiff
path: root/api/urls.py
diff options
context:
space:
mode:
authorprathamesh2018-12-20 10:53:23 +0530
committerprathamesh2018-12-26 17:12:10 +0530
commit81d1e4e4ff4406f7f3823c40a82cf21096f2ccec (patch)
tree0b51618436ab352335c30400575a7956884a2d48 /api/urls.py
parentbcff98d9fe7ac8fa50b1e8ab384a853ee6800c73 (diff)
downloadonline_test-81d1e4e4ff4406f7f3823c40a82cf21096f2ccec.tar.gz
online_test-81d1e4e4ff4406f7f3823c40a82cf21096f2ccec.tar.bz2
online_test-81d1e4e4ff4406f7f3823c40a82cf21096f2ccec.zip
Resolve PEP8 issues
Diffstat (limited to 'api/urls.py')
-rw-r--r--api/urls.py7
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]+)/$',