Skip to content

Commit 94d3f32

Browse files
committed
Allow to show liaison titles correctly in unicode. See ietf-tools#388
- Legacy-Id: 2553
1 parent 5ab532b commit 94d3f32

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/liaisons/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ class LiaisonDetail(models.Model):
6767
related_to = models.ForeignKey('LiaisonDetail', blank=True, null=True)
6868
def __str__(self):
6969
return self.title or "<no title>"
70+
def __unicode__(self):
71+
return self.title or "<no title>"
7072
def from_body(self):
7173
"""The from_raw_body stores the name of the entity
7274
sending the liaison.

0 commit comments

Comments
 (0)