diff options
| author | Carlton Gibson | 2014-12-04 14:15:01 +0100 | 
|---|---|---|
| committer | Carlton Gibson | 2014-12-04 14:15:01 +0100 | 
| commit | 6ee361332b09f148f86149a7d9a6220bd61966e8 (patch) | |
| tree | 77e9c24b8ad7d09ca93d58fd6c3471defc494820 | |
| parent | 71e1a3942e7945fe4d8da4c44b4ba2100a2c67de (diff) | |
| download | django-rest-framework-6ee361332b09f148f86149a7d9a6220bd61966e8.tar.bz2 | |
Add missing definite article
| -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 69fc1857..79db275f 100644 --- a/docs/api-guide/serializers.md +++ b/docs/api-guide/serializers.md @@ -509,7 +509,7 @@ Model fields which have `editable=False` set, and `AutoField` fields will be set  **Note**: There is a special-case where a read-only field is part of a `unique_together` constraint at the model level. Here you **must** specify the field explicitly and provide a valid default value. -A common example of this is a read-only relation to currently authenticated `User` which is `unique_together` with another identifier. In this case you would declare the user field like so: +A common example of this is a read-only relation to the currently authenticated `User` which is `unique_together` with another identifier. In this case you would declare the user field like so:      user = serializers.PrimaryKeyRelatedField(read_only=True, default=serializers.CurrentUserDefault()) | 
