From 51f6231706bb81ef24a3934f3d20f34f8b133ec4 Mon Sep 17 00:00:00 2001 From: adityacp Date: Tue, 3 Mar 2020 16:19:29 +0530 Subject: Show specific fields for answerpaper in admin Signed-off-by: ankitjavalkar --- yaksh/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/models.py') diff --git a/yaksh/models.py b/yaksh/models.py index 3894165..e161543 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -1592,7 +1592,7 @@ class Answer(models.Model): self.marks = marks def __str__(self): - return self.answer + return "Answer for question {0}".format(self.question.summary) ############################################################################### -- cgit