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.
This commit is contained in:
Nikita Sobolev 2021-06-28 15:07:41 +03:00 committed by GitHub
parent c8a9c856c2
commit d2977cff98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -605,13 +605,13 @@ For `ModelSerializer` this defaults to `PrimaryKeyRelatedField`.
For `HyperlinkedModelSerializer` this defaults to `serializers.HyperlinkedRelatedField`.
### `serializer_url_field`
### `.serializer_url_field`
The serializer field class that should be used for any `url` field on the serializer.
Defaults to `serializers.HyperlinkedIdentityField`
### `serializer_choice_field`
### `.serializer_choice_field`
The serializer field class that should be used for any choice fields on the serializer.