Skip to content

Commit d2977cf

Browse files
authored
Fixes inconsistent headers in serializer docs (#8056)
Some headers were using `.`, some - were not. Now, all of them are the same with `.`, because it was easier to fix.
1 parent c8a9c85 commit d2977cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api-guide/serializers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,13 +605,13 @@ For `ModelSerializer` this defaults to `PrimaryKeyRelatedField`.
605605

606606
For `HyperlinkedModelSerializer` this defaults to `serializers.HyperlinkedRelatedField`.
607607

608-
### `serializer_url_field`
608+
### `.serializer_url_field`
609609

610610
The serializer field class that should be used for any `url` field on the serializer.
611611

612612
Defaults to `serializers.HyperlinkedIdentityField`
613613

614-
### `serializer_choice_field`
614+
### `.serializer_choice_field`
615615

616616
The serializer field class that should be used for any choice fields on the serializer.
617617

0 commit comments

Comments
 (0)