def wanted_by(self, ar): if ar is None: return '' return qs2summary(ar, self.customers.all())
def offered_by(self, ar): if ar is None: return '' return qs2summary(ar, self.providers.all())