mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
Merge 3f21dd1796
into a0602bce4c
This commit is contained in:
commit
cfc68114f3
|
@ -148,4 +148,7 @@ class SimpleMetadata(BaseMetadata):
|
||||||
for choice_value, choice_name in field.choices.items()
|
for choice_value, choice_name in field.choices.items()
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if issubclass(type(field), serializers.Serializer):
|
||||||
|
field_info['nested_object'] = self.get_serializer_info(field)
|
||||||
|
|
||||||
return field_info
|
return field_info
|
||||||
|
|
Loading…
Reference in New Issue
Block a user