diff options
| author | Alen Mujezinovic | 2012-01-17 10:58:42 +0000 |
|---|---|---|
| committer | Alen Mujezinovic | 2012-01-17 11:01:32 +0000 |
| commit | 0a167a54fdbf9ceba2a1513636a50bf4c89efa66 (patch) | |
| tree | ed9dcdcb6cc5d968ee9c597efb32792e6d8f663f /djangorestframework/serializer.py | |
| parent | 5f4096ca28d6c0b9ea98f43278789b38cf0d37bb (diff) | |
| download | django-rest-framework-0a167a54fdbf9ceba2a1513636a50bf4c89efa66.tar.bz2 | |
Added an additional attribute `unknown_form_fields` to `FormResource`
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.
Diffstat (limited to 'djangorestframework/serializer.py')
0 files changed, 0 insertions, 0 deletions
