mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-01-31 11:48:38 +03:00
Removed repeated function
This commit is contained in:
parent
be22f1639b
commit
a9d819e1f7
|
@ -83,8 +83,3 @@ def convert_form_field_to_time(field):
|
||||||
@convert_form_field.register(GlobalIDFormField)
|
@convert_form_field.register(GlobalIDFormField)
|
||||||
def convert_form_field_to_id(field):
|
def convert_form_field_to_id(field):
|
||||||
return ID(required=field.required)
|
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)
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user