mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 13:00:12 +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'
|
'label': 'ID'
|
||||||
},
|
},
|
||||||
'children': {
|
'children': {
|
||||||
'type': 'field',
|
'type': 'multiple choice',
|
||||||
'required': False,
|
'required': False,
|
||||||
'read_only': True,
|
'read_only': True,
|
||||||
'label': 'Children'
|
'label': 'Children'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user