code: def save_logo(self, stream, filename):
          
          logo_ext = save_and_validate_logo(stream, filename, self.id)
          if logo_ext:
              self.logo_ext = logo_ext
              return True
          return False
docs: Get a community.