def parents_admin(self, obj): """ Returns an HTML string with links to the parent Person objects. """ return persons2admin(obj.parents())
def persons_admin(self, obj): """ Returns an HTML string with links to the Person objects related to the current event. """ return persons2admin(obj.persons.all())