def public_galleries(self):
        return self.galleries.filter(is_public=True)
Return the public galleries to which this photo belongs.
dataset/ETHPy150Open jdriscoll/django-photologue/photologue/models.py/Photo.public_galleries