From f698d00fc85f17133e5f3ce7d1e384d72e650c6d Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Wed, 19 Sep 2012 20:17:48 -0600 Subject: [PATCH] added Room.__unicode__ --- symposion/schedule/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/symposion/schedule/models.py b/symposion/schedule/models.py index c972f566..e36c0fee 100644 --- a/symposion/schedule/models.py +++ b/symposion/schedule/models.py @@ -27,6 +27,9 @@ class Room(models.Model): schedule = models.ForeignKey(Schedule) name = models.CharField(max_length=65) order = models.PositiveIntegerField() + + def __unicode__(self): + return self.name class SlotKind(models.Model):