mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 16:40:03 +03:00
Fix #7412
This commit is contained in:
parent
4b06e0a5a1
commit
20d3073652
|
@ -595,7 +595,7 @@ Normally if a `ModelSerializer` does not generate the fields you need by default
|
|||
|
||||
### `.serializer_field_mapping`
|
||||
|
||||
A mapping of Django model classes to REST framework serializer classes. You can override this mapping to alter the default serializer classes that should be used for each model class.
|
||||
A mapping of Django model fields to REST framework serializer fields. You can override this mapping to alter the default serializer fields that should be used for each model field.
|
||||
|
||||
### `.serializer_related_field`
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user