landing = models.ManyToManyField(Place, related_name="landing_schedule", null=False)
return u'%s | %s' % (self.departure, self.landing)
How can i display the values inside admin for the ManyToManyField ?
Best How To :
Place has a
name field, the following should do what you want.
return u'%s | %s' % (self.departure, ", ".join(l.name for l in self.landing.all()))
Depending on how many records you have and how many relationships, it might cause a performance hit, so be careful.