diff options
author | adityacp | 2020-03-03 16:19:29 +0530 |
---|---|---|
committer | ankitjavalkar | 2020-03-06 14:42:43 +0530 |
commit | 51f6231706bb81ef24a3934f3d20f34f8b133ec4 (patch) | |
tree | 4142a2b7548de8708bd2c3a7872bbdc53339b823 /yaksh/models.py | |
parent | cc974e23b094017907c947cd83dec674e76b6e2f (diff) | |
download | online_test-51f6231706bb81ef24a3934f3d20f34f8b133ec4.tar.gz online_test-51f6231706bb81ef24a3934f3d20f34f8b133ec4.tar.bz2 online_test-51f6231706bb81ef24a3934f3d20f34f8b133ec4.zip |
Show specific fields for answerpaper in admin
Signed-off-by: ankitjavalkar <ankit@fossee.in>
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) ############################################################################### |