summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
authorankitjavalkar2020-09-14 11:57:54 +0530
committerGitHub2020-09-14 11:57:54 +0530
commit2fbf184c2f18eb52bc4a6c6c6a9168572d2fd23c (patch)
tree711e958f20f7870d08cdb6be29014e5f1d258f56 /yaksh/views.py
parent6f5cefcd6614b53285f0747f940c64b97e3783cb (diff)
parenta80fef3789d970d3db17d72f761fe156fe735259 (diff)
downloadonline_test-2fbf184c2f18eb52bc4a6c6c6a9168572d2fd23c.tar.gz
online_test-2fbf184c2f18eb52bc4a6c6c6a9168572d2fd23c.tar.bz2
online_test-2fbf184c2f18eb52bc4a6c6c6a9168572d2fd23c.zip
Merge pull request #751 from CruiseDevice/partial_grade_user
Show max marks for all attempts in answerpaper
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 01f5e4e..0ed8f9f 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -1798,7 +1798,6 @@ def user_data(request, user_id, questionpaper_id=None, course_id=None):
raise Http404('You are not allowed to view this page!')
user = User.objects.get(id=user_id)
data = AnswerPaper.objects.get_user_data(user, questionpaper_id, course_id)
-
context = {'data': data, 'course_id': course_id}
return my_render_to_response(request, 'yaksh/user_data.html', context)