mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
metadata test_read_only_primary_key_related_field fixed by multiple choice #refs 4030
This commit is contained in:
parent
835bea66cb
commit
068f990c80
|
@ -319,7 +319,7 @@ class TestModelSerializerMetadata(TestCase):
|
|||
'label': 'ID'
|
||||
},
|
||||
'children': {
|
||||
'type': 'field',
|
||||
'type': 'multiple choice',
|
||||
'required': False,
|
||||
'read_only': True,
|
||||
'label': 'Children'
|
||||
|
|
Loading…
Reference in New Issue
Block a user