# HG changeset patch # User nishanth # Date 1279086344 -19800 # Node ID e84f56d4968ee1a99792b9aa4349eaed97766ecc # Parent 616a0357b2c9be486779abf2117d4e96ad65812d added __unicode__ to the model diff -r 616a0357b2c9 -r e84f56d4968e sdi/models.py --- a/sdi/models.py Wed Jul 14 10:16:53 2010 +0530 +++ b/sdi/models.py Wed Jul 14 11:15:44 2010 +0530 @@ -73,3 +73,6 @@ likeliness_of_attending = models.CharField(max_length=1, choices=LIKELINESS_CHOICES) + def __unicode__(self): + + return self.first_name + " " + self.last_name