mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-03 13:14:30 +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.',
|
'description': 'Example description for OPTIONS.',
|
||||||
'actions': {}
|
'actions': {}
|
||||||
}
|
}
|
||||||
# TODO: this is just a draft idea for fields' metadata - needs review and decision
|
|
||||||
for method in ('GET', 'DELETE'):
|
for method in ('GET', 'DELETE'):
|
||||||
expected['actions'][method] = {}
|
expected['actions'][method] = {}
|
||||||
for method in ('PATCH', 'PUT'):
|
for method in ('PATCH', 'PUT'):
|
||||||
expected['actions'][method] = {
|
expected['actions'][method] = {
|
||||||
'text': {
|
'text': {
|
||||||
# TODO uncomment label and description when they are
|
|
||||||
# available
|
|
||||||
#'description': '',
|
|
||||||
#'label': None,
|
|
||||||
'max_length': 100,
|
'max_length': 100,
|
||||||
'read_only': False,
|
'read_only': False,
|
||||||
'required': True,
|
'required': True,
|
||||||
'type': 'String',
|
'type': 'String',
|
||||||
},
|
},
|
||||||
'id': {
|
'id': {
|
||||||
# TODO uncomment label and description when they are
|
|
||||||
# available
|
|
||||||
#'description': '',
|
|
||||||
#'label': None,
|
|
||||||
'read_only': True,
|
'read_only': True,
|
||||||
'required': False,
|
'required': False,
|
||||||
'type': 'Integer',
|
'type': 'Integer',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user