summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
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')