validators.py
16.2 KB
-
Added an additional attribute `unknown_form_fields` to `FormResource` · 0a167a54
If the attribute is set to `True`, the validation method will not raise an `ErrorResponse` with status 400 but silently strip out unexpected fields on the form and only return the validated data.
Alen Mujezinovic committed