From 3c68e49bd4a57d3eae0acfe11061041789c1423f Mon Sep 17 00:00:00 2001 From: prathamesh Date: Mon, 22 Feb 2016 18:33:55 +0530 Subject: Added statistics per question for a quiz --- yaksh/urls.py | 1 + 1 file changed, 1 insertion(+) (limited to 'yaksh/urls.py') diff --git a/yaksh/urls.py b/yaksh/urls.py index 61222b8..ea6f5e8 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -50,6 +50,7 @@ urlpatterns = patterns('yaksh.views', url(r'^manage/designquestionpaper/manual$', 'manual_questionpaper'), url(r'^manage/designquestionpaper/manual/(?P\d+)/$',\ 'manual_questionpaper'), + url(r'^manage/statistics/question/(?P\d+)/$','statistics'), url(r'^ajax/questionpaper/(?P.+)/$', 'ajax_questionpaper'), url(r'^ajax/questions/filter/$', 'ajax_questions_filter'), -- cgit From acb128c0637c19aebaae0e620b12d918f9544a95 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Tue, 23 Feb 2016 12:32:37 +0530 Subject: Added a check for zero attempt --- yaksh/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'yaksh/urls.py') diff --git a/yaksh/urls.py b/yaksh/urls.py index ea6f5e8..096f582 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -50,7 +50,8 @@ urlpatterns = patterns('yaksh.views', url(r'^manage/designquestionpaper/manual$', 'manual_questionpaper'), url(r'^manage/designquestionpaper/manual/(?P\d+)/$',\ 'manual_questionpaper'), - url(r'^manage/statistics/question/(?P\d+)/$','statistics'), + url(r'^manage/statistics/question/(?P\d+)/$', + 'show_statistics'), url(r'^ajax/questionpaper/(?P.+)/$', 'ajax_questionpaper'), url(r'^ajax/questions/filter/$', 'ajax_questions_filter'), -- cgit From 3b055ad0ad3232a25408632a020d5e3c284c245b Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 25 Feb 2016 00:04:01 +0530 Subject: Question Statistics for a quiz per attempt. Shows the number of appearance of a question versus number of times the question was answered correctly --- yaksh/urls.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'yaksh/urls.py') diff --git a/yaksh/urls.py b/yaksh/urls.py index 096f582..e6c2e15 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -52,6 +52,8 @@ urlpatterns = patterns('yaksh.views', 'manual_questionpaper'), url(r'^manage/statistics/question/(?P\d+)/$', 'show_statistics'), + url(r'^manage/statistics/question/(?P\d+)/(?P\d+)/$', + 'show_statistics'), url(r'^ajax/questionpaper/(?P.+)/$', 'ajax_questionpaper'), url(r'^ajax/questions/filter/$', 'ajax_questions_filter'), -- cgit