added __unicode__ to the model anoop
authornishanth
Wed, 14 Jul 2010 11:15:44 +0530
branchanoop
changeset 78 e84f56d4968e
parent 77 616a0357b2c9
child 79 064ff60025d9
added __unicode__ to the model
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