code: def save(self, commit=True):
          
  
          if self.errors:
              raise ValueError("The %s could not be saved because the data didn't"
                               " validate." % self.instance._meta.object_name)
  
          # create entity instance, don't save yet
          instance = super(BaseDynamicEntityForm, self).save(commit=False)
  
          # assign attributes
          for name in instance.get_schema_names():
              value = self.cleaned_data.get(name)
              setattr(instance, name, value)
  
          # save entity and its attributes
          if commit:
              instance.save()
  
          return instance
docs: Saves this ``form``'s cleaned_data into model instance ``self.instance``
          and related EAV attributes.
  
          Returns ``instance``.