docs: def update_object(self, form, obj):
          """ Saves the new value to the target object. """
          field_name = form.cleaned_data['name']
          value = form.cleaned_data['value']
          setattr(obj, field_name, value)
          save_kwargs = {}
          if CAN_UPDATE_FIELDS:
              save_kwargs['update_fields'] = [field_name]
          obj.save(**save_kwargs)
  
          data = json.dumps({
              'status': 'success',
          })
          return HttpResponse(data, content_type="application/json")