I’d like to get all the django form fields that passed the validation to preform partial data save at each validation attempt before returning to template with validation errors. However clean() method doesn’t return any data if the there are validation errors.
Is there any simple way to get just the validated fields and pass them to save()?
The simplest way would be to override the
cleanmethod to save the data for which there are not errors to another property, such asself.partial_cleaned.