mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
Added missing default style for FileField
This commit is contained in:
parent
e70b82b6c8
commit
dbb435ca31
|
@ -374,6 +374,10 @@ class HTMLFormRenderer(BaseRenderer):
|
||||||
'base_template': 'input.html',
|
'base_template': 'input.html',
|
||||||
'input_type': 'time'
|
'input_type': 'time'
|
||||||
},
|
},
|
||||||
|
serializers.FileField: {
|
||||||
|
'base_template': 'input.html',
|
||||||
|
'input_type': 'file'
|
||||||
|
},
|
||||||
serializers.BooleanField: {
|
serializers.BooleanField: {
|
||||||
'base_template': 'checkbox.html'
|
'base_template': 'checkbox.html'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user