Hi all,
I just realized that Django Admin allows clear a FileField sending a '<fieldname>-clear' parameter to 'on'. I am trying to reproduce this feature, or something equivalent, using DRF.
I read that using an empty string in the param '<fieldname>' can do the job, but I did not get to clear the field using a PATCH request. I cannot use PUT, since there are lots of fields and I do not know exactly the value for everything, so I cannot do a PUT that overwrite that unknown values.
Which is the canonical way of clear a FileField using a partial update in DRF?
Thanks,