mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
removed TODO
This commit is contained in:
parent
9133ef77ab
commit
259153b3f9
|
@ -262,26 +262,17 @@ class TestInstanceView(TestCase):
|
|||
'description': 'Example description for OPTIONS.',
|
||||
'actions': {}
|
||||
}
|
||||
# TODO: this is just a draft idea for fields' metadata - needs review and decision
|
||||
for method in ('GET', 'DELETE'):
|
||||
expected['actions'][method] = {}
|
||||
for method in ('PATCH', 'PUT'):
|
||||
expected['actions'][method] = {
|
||||
'text': {
|
||||
# TODO uncomment label and description when they are
|
||||
# available
|
||||
#'description': '',
|
||||
#'label': None,
|
||||
'max_length': 100,
|
||||
'read_only': False,
|
||||
'required': True,
|
||||
'type': 'String',
|
||||
},
|
||||
'id': {
|
||||
# TODO uncomment label and description when they are
|
||||
# available
|
||||
#'description': '',
|
||||
#'label': None,
|
||||
'read_only': True,
|
||||
'required': False,
|
||||
'type': 'Integer',
|
||||
|
|
Loading…
Reference in New Issue
Block a user