diff options
author | CruiseDevice | 2020-08-28 18:30:42 +0530 |
---|---|---|
committer | CruiseDevice | 2020-08-28 18:36:17 +0530 |
commit | b41cf01f58544a6c71c16bab1854142a3ffc8e03 (patch) | |
tree | 196fce9ca16bdef2d37ec038cc1cd3581b962b26 /yaksh/views.py | |
parent | 9569e3ef6bbaeb8b36ad78c272006a538e044894 (diff) | |
download | online_test-b41cf01f58544a6c71c16bab1854142a3ffc8e03.tar.gz online_test-b41cf01f58544a6c71c16bab1854142a3ffc8e03.tar.bz2 online_test-b41cf01f58544a6c71c16bab1854142a3ffc8e03.zip |
Show max marks for all attempts in answerpaper
- Latest attempt marks were shown in the answerpaper, which made
it difficult to analyze the paper. This PR fixes the issue
and the best marks of all the attempt are provided.
Diffstat (limited to 'yaksh/views.py')
-rw-r--r-- | yaksh/views.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py index 8413889..b955608 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -1757,7 +1757,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) |