added Room.__unicode__
This commit is contained in:
parent
f30dce6a61
commit
f698d00fc8
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ class Room(models.Model):
|
|||
name = models.CharField(max_length=65)
|
||||
order = models.PositiveIntegerField()
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
|
||||
|
||||
class SlotKind(models.Model):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue