diff options
| author | Alen Mujezinovic | 2012-01-17 11:08:44 +0000 |
|---|---|---|
| committer | Alen Mujezinovic | 2012-01-17 11:08:44 +0000 |
| commit | 167dce008cc967755a2a433b710207a7ae7315af (patch) | |
| tree | 4b5f75b65822a0453f0f6dfcbb3826ff21a7d1d0 | |
| parent | 0a167a54fdbf9ceba2a1513636a50bf4c89efa66 (diff) | |
| download | django-rest-framework-167dce008cc967755a2a433b710207a7ae7315af.tar.bz2 | |
Documentation error.
| -rw-r--r-- | djangorestframework/resources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/resources.py b/djangorestframework/resources.py index d2651036..de369948 100644 --- a/djangorestframework/resources.py +++ b/djangorestframework/resources.py @@ -93,7 +93,7 @@ class FormResource(Resource): Raises a :exc:`response.ErrorResponse` with status code 400 (Bad Request) on failure. Validation is standard form validation, with an additional constraint that *no extra unknown fields* may be supplied - if :attr:`self.unknown_form_fields` is ``True``. + if :attr:`self.unknown_form_fields` is ``False``. On failure the :exc:`response.ErrorResponse` content is a dict which may contain :obj:`'errors'` and :obj:`'field-errors'` keys. If the :obj:`'errors'` key exists it is a list of strings of non-field errors. |
