Made the ballot type representation string more expressive, showing both name and doc_type.
- Legacy-Id: 14383
This commit is contained in:
parent
abb69338e2
commit
ddfddb61ca
|
@ -1007,7 +1007,7 @@ class BallotType(models.Model):
|
|||
positions = models.ManyToManyField(BallotPositionName, blank=True)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
return u"%s: %s" % (self.name, self.doc_type.name)
|
||||
|
||||
class Meta:
|
||||
ordering = ['order']
|
||||
|
|
Loading…
Reference in a new issue