Skip to content

Commit 6ee3613

Browse files
author
Carlton Gibson
committed
Add missing definite article
1 parent 71e1a39 commit 6ee3613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/serializers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ Model fields which have `editable=False` set, and `AutoField` fields will be set
509509

510510
**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.
511511

512-
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:
512+
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:
513513

514514
user = serializers.PrimaryKeyRelatedField(read_only=True, default=serializers.CurrentUserDefault())
515515

0 commit comments

Comments
 (0)