Skip to content

Commit 1c0d859

Browse files
committed
Fix problem with __unicode__ on Constraint (spotted by Ryan Cross)
- Legacy-Id: 3735
1 parent af8c1b4 commit 1c0d859

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/meeting/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class Constraint(models.Model):
126126
name = models.ForeignKey(ConstraintName)
127127

128128
def __unicode__(self):
129-
return u"%s %s %s" % (self.source, self.name.lower(), self.target)
129+
return u"%s %s %s" % (self.source, self.name.name.lower(), self.target)
130130

131131
class Session(models.Model):
132132
"""Session records that a group should have a session on the

0 commit comments

Comments
 (0)