Removed repeated function

This commit is contained in:
Syrus Akbary 2018-06-05 14:24:41 -07:00
parent be22f1639b
commit a9d819e1f7

View File

@ -83,8 +83,3 @@ def convert_form_field_to_time(field):
@convert_form_field.register(GlobalIDFormField)
def convert_form_field_to_id(field):
return ID(required=field.required)
@convert_form_field.register(forms.TimeField)
def convert_form_field_to_time(field):
return Time(description=field.help_text, required=field.required)