summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorprathamesh2017-10-26 14:35:08 +0530
committerprathamesh2017-10-26 14:35:08 +0530
commit1f554e7505f5a6aa1b796b2e31e1541188af56da (patch)
treecbe0f88b2dd7dd8ef37f391f89bb8f578cae40e0 /yaksh/urls.py
parent97a277cf5b86f60525f94302d5b04de420ad7212 (diff)
downloadonline_test-1f554e7505f5a6aa1b796b2e31e1541188af56da.tar.gz
online_test-1f554e7505f5a6aa1b796b2e31e1541188af56da.tar.bz2
online_test-1f554e7505f5a6aa1b796b2e31e1541188af56da.zip
CSV download for quiz enhanced
CSV download for a quiz now shows question wise grades. Also, for a given attempt all the users from the course are entered in the CSV. If the user has not attempted then a dash '-' is put under the grades. Also, handles random questions, if a question paper has questions selected from pool of questions then all the questions are entered in the CSV. 'NA' is put under the question grade if that question has not come in the question/answer paper for that given user.
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index 2e25bee..849a810 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -56,8 +56,8 @@ urlpatterns = [
views.show_statistics, name="show_statistics"),
url(r'^manage/statistics/question/(?P<questionpaper_id>\d+)/(?P<attempt_number>\d+)/$',
views.show_statistics, name="show_statistics"),
- url(r'^manage/monitor/download_csv/(?P<questionpaper_id>\d+)/$',
- views.download_csv, name="download_csv"),
+ url(r'^manage/download_quiz_csv/(?P<course_id>\d+)/(?P<quiz_id>\d+)/$',
+ views.download_quiz_csv, name="download_quiz_csv"),
url(r'^manage/duplicate_course/(?P<course_id>\d+)/$', views.duplicate_course,
name='duplicate_course'),
url(r'manage/courses/$', views.courses, name='courses'),