Fix func names

This commit is contained in:
= 2017-12-18 12:33:42 -05:00
parent 7f8877fba5
commit 1352d4e02b
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ def convert_field_to_float(field, registry=None):
@convert_django_field.register(models.DateTimeField)
def convert_date_to_string(field, registry=None):
def convert_datetime_to_string(field, registry=None):
return DateTime(description=field.help_text, required=not field.null)

View File

@ -92,7 +92,7 @@ def convert_serializer_field_to_float(field):
@get_graphene_type_from_serializer_field.register(serializers.DateTimeField)
def convert_serializer_field_to_date_time(field):
def convert_serializer_field_to_datetime_time(field):
return graphene.types.datetime.DateTime