summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authoradityacp2020-12-22 12:48:23 +0530
committeradityacp2020-12-22 12:48:23 +0530
commita29473b7ac933b31368ca163c758e8eadb4c411e (patch)
treed2b7215cad6e85c2d508575dc0edddd277e4c561 /yaksh/models.py
parent6945328e7a3e5cb23bfa16376c0a4a976f586f6c (diff)
downloadonline_test-a29473b7ac933b31368ca163c758e8eadb4c411e.tar.gz
online_test-a29473b7ac933b31368ca163c758e8eadb4c411e.tar.bz2
online_test-a29473b7ac933b31368ca163c758e8eadb4c411e.zip
Fix UI in lesson statistics
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index 2978f43..a29e910 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -2830,7 +2830,7 @@ class TOCManager(models.Manager):
if answers.exists():
answers = answers.values(
"student__first_name", "student__last_name", "student__email",
- "student_id", "toc_id"
+ "student_id", "student__profile__roll_number", "toc_id"
)
df = pd.DataFrame(answers)
answers = df.drop_duplicates().to_dict(orient='records')