code: def set_name(self,name=None):
          
          if name:
              self.name = name[:254]
          else:
              self.name = self.extract_name()[:254]
  
          self.save()
  
          return self.name
docs: Set the name of the object. If no name is given, the
          name is extracted via the extract_name method.