aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/parsers.py
diff options
context:
space:
mode:
authorAlen Mujezinovic2012-01-17 10:58:42 +0000
committerAlen Mujezinovic2012-01-17 11:01:32 +0000
commit0a167a54fdbf9ceba2a1513636a50bf4c89efa66 (patch)
treeed9dcdcb6cc5d968ee9c597efb32792e6d8f663f /djangorestframework/parsers.py
parent5f4096ca28d6c0b9ea98f43278789b38cf0d37bb (diff)
downloaddjango-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/parsers.py')
0 files changed, 0 insertions, 0 deletions