(self)
return self.galleries.filter(is_public=True)
Return the public galleries to which this photo belongs.
Return the public galleries to which this photo belongs.
Return the public galleries to which this photo belongs .
def public_galleries(self):
        """Return the public galleries to which this photo belongs."""
        return self.galleries.filter(is_public=True)
def public_galleries ( self ) : return self . galleries . filter ( is_public = True )