diff options
| author | Pascal Borreli | 2013-05-28 15:09:23 +0100 | 
|---|---|---|
| committer | Pascal Borreli | 2013-05-28 15:09:23 +0100 | 
| commit | 8f35ac4f93c608eaced3f48a46e8922104e09182 (patch) | |
| tree | 55b394b57fc7b0e40283d89dc23dd0b41dfc074d /docs/api-guide/serializers.md | |
| parent | 7123f0b1e6b29778c41476341bd2370f60c279fa (diff) | |
| download | django-rest-framework-8f35ac4f93c608eaced3f48a46e8922104e09182.tar.bz2 | |
Fixed typos
Diffstat (limited to 'docs/api-guide/serializers.md')
| -rw-r--r-- | docs/api-guide/serializers.md | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/serializers.md b/docs/api-guide/serializers.md index c83a0967..053a5eaf 100644 --- a/docs/api-guide/serializers.md +++ b/docs/api-guide/serializers.md @@ -104,7 +104,7 @@ When deserializing a list of items, errors will be returned as a list of diction  #### Field-level validation -You can specify custom field-level validation by adding `.validate_<fieldname>` methods to your `Serializer` subclass. These are analagous to `.clean_<fieldname>` methods on Django forms, but accept slightly different arguments. +You can specify custom field-level validation by adding `.validate_<fieldname>` methods to your `Serializer` subclass. These are analogous to `.clean_<fieldname>` methods on Django forms, but accept slightly different arguments.  They take a dictionary of deserialized attributes as a first argument, and the field name in that dictionary as a second argument (which will be either the name of the field or the value of the `source` argument to the field, if one was provided).  | 
