From a9d819e1f77abfc32e4f3b21b7cdc7c146ea56c5 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Tue, 5 Jun 2018 14:24:41 -0700 Subject: [PATCH] Removed repeated function --- graphene_django/forms/converter.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/graphene_django/forms/converter.py b/graphene_django/forms/converter.py index 357ef37..24cece7 100644 --- a/graphene_django/forms/converter.py +++ b/graphene_django/forms/converter.py @@ -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)