Commit dbb435ca by Kevin Chang

Added missing default style for FileField

parent e70b82b6
...@@ -374,6 +374,10 @@ class HTMLFormRenderer(BaseRenderer): ...@@ -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'
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment