Hello,
I ended with this code:
if insumoForm.is_valid() and not insumoForm.cleaned_data["DELETE"]:
insumoRecurso = insumoForm.save(commit=False)
if not insumoRecurso.archivo.name:
continue
insumoRecurso.recurso = recurso
insumoRecurso.
Hello,
I have a edit view to modify an object. The model includes an inline
formset of insumoRecurso objects, for including files associated with the
main object. These files appear with a checkbox for clearing files
(ClearableFileInput widget). What should I test on my view to detect that
the
2 matches
Mail list logo