Skip to content

Commit f8c4e50

Browse files
committed
Minor documentation fixes (#6581)
1 parent 29cbe57 commit f8c4e50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/api-guide/serializers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,8 @@ This option is a dictionary, mapping field names to a dictionary of keyword argu
572572
user.save()
573573
return user
574574

575+
Please keep in mind that, if the field has already been explicitly declared on the serializer class, then the `extra_kwargs` option will be ignored.
576+
575577
## Relational fields
576578

577579
When serializing model instances, there are a number of different ways you might choose to represent relationships. The default representation for `ModelSerializer` is to use the primary keys of the related instances.

0 commit comments

Comments
 (0)