Merge pull request #2172 from kchange/master

Added missing default style for FileField
This commit is contained in:
Tom Christie 2014-12-04 07:47:53 +00:00
commit e8cbf41bd9

View File

@ -374,6 +374,10 @@ class HTMLFormRenderer(BaseRenderer):
'base_template': 'input.html',
'input_type': 'time'
},
serializers.FileField: {
'base_template': 'input.html',
'input_type': 'file'
},
serializers.BooleanField: {
'base_template': 'checkbox.html'
},