Skip to content

Commit

Permalink
docs typo fix (#4701)
Browse files Browse the repository at this point in the history
Remove unnecessary "a"
  • Loading branch information
nikolas authored and tomchristie committed Nov 24, 2016
1 parent eaec60a commit abc62af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-guide/validators.md
Expand Up @@ -20,7 +20,7 @@ With `ModelForm` the validation is performed partially on the form, and partiall
* It is easy to switch between using shortcut `ModelSerializer` classes and using explicit `Serializer` classes. Any validation behavior being used for `ModelSerializer` is simple to replicate.
* Printing the `repr` of a serializer instance will show you exactly what validation rules it applies. There's no extra hidden validation behavior being called on the model instance.

When you're using `ModelSerializer` all of this is handled automatically for you. If you want to drop down to using a `Serializer` classes instead, then you need to define the validation rules explicitly.
When you're using `ModelSerializer` all of this is handled automatically for you. If you want to drop down to using `Serializer` classes instead, then you need to define the validation rules explicitly.

#### Example

Expand Down

0 comments on commit abc62af

Please sign in to comment.