diff options
author | adityacp | 2020-03-03 16:19:29 +0530 |
---|---|---|
committer | adityacp | 2020-03-03 16:19:29 +0530 |
commit | f85fbae3c76595a8f2039a60c0e7051d39dfe643 (patch) | |
tree | e342a216e5196e079e3bcc3bd0148b617ac29bdc /yaksh/models.py | |
parent | 718f475f279a0600b7157a8c82d3198ee87b7a32 (diff) | |
download | online_test-f85fbae3c76595a8f2039a60c0e7051d39dfe643.tar.gz online_test-f85fbae3c76595a8f2039a60c0e7051d39dfe643.tar.bz2 online_test-f85fbae3c76595a8f2039a60c0e7051d39dfe643.zip |
Show specific fields for answerpaper in admin
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 2ebfa38..9aa3e0b 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -1603,7 +1603,7 @@ class Answer(models.Model): self.marks = marks def __str__(self): - return self.answer + return "Answer for question {0}".format(self.question.summary) ############################################################################### |