Provide a __unicode__ member for ImportantDate. Commit ready for merge.

- Legacy-Id: 15124
This commit is contained in:
Robert Sparks 2018-05-04 18:16:28 +00:00
parent c75b5e9386
commit 4f99fef377

View file

@ -1138,3 +1138,6 @@ class ImportantDate(models.Model):
name = ForeignKey(ImportantDateName) name = ForeignKey(ImportantDateName)
class Meta: class Meta:
ordering = ["-meeting_id","date", ] ordering = ["-meeting_id","date", ]
def __unicode__(self):
return u'%s : %s : %s' % ( self.meeting, self.name, self.date )