Skip to content

Commit ddfddb6

Browse files
committed
Made the ballot type representation string more expressive, showing both name and doc_type.
- Legacy-Id: 14383
1 parent abb6933 commit ddfddb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ class BallotType(models.Model):
10071007
positions = models.ManyToManyField(BallotPositionName, blank=True)
10081008

10091009
def __unicode__(self):
1010-
return self.name
1010+
return u"%s: %s" % (self.name, self.doc_type.name)
10111011

10121012
class Meta:
10131013
ordering = ['order']

0 commit comments

Comments
 (0)