mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
parent
91fa8b923a
commit
efb047fa07
|
@ -323,6 +323,9 @@ class HTMLFormRenderer(BaseRenderer):
|
|||
serializers.FilePathField: {
|
||||
'base_template': 'select.html',
|
||||
},
|
||||
serializers.JSONField: {
|
||||
'base_template': 'textarea.html',
|
||||
},
|
||||
})
|
||||
|
||||
def render_field(self, field, parent_style):
|
||||
|
|
Loading…
Reference in New Issue
Block a user