Added missing default style for FileField

This commit is contained in:
Kevin Chang 2014-11-12 12:46:09 -08:00
parent e70b82b6c8
commit dbb435ca31

View File

@ -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'
}, },