author | nishanth |
Tue, 29 Jun 2010 12:37:09 +0530 | |
changeset 64 | ba80a1b3b187 |
parent 63 | 21cdadb1b98e |
child 65 | 88a36f434284 |
quiz/models.py | file | annotate | diff | comparison | revisions |
--- a/quiz/models.py Tue Jun 29 12:28:18 2010 +0530 +++ b/quiz/models.py Tue Jun 29 12:37:09 2010 +0530 @@ -43,6 +43,10 @@ time_limit = models.PositiveSmallIntegerField() expected_ans = models.TextField() + def __unicode__(self): + + return self.description + class Answer(models.Model): """ A model for holding answers submitted by users. """