mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-23 10:32:04 +03:00
added time field
This commit is contained in:
parent
402cd645e8
commit
10699c0b6b
|
@ -113,7 +113,7 @@ def convert_date_to_string(field, registry=None):
|
|||
|
||||
|
||||
@convert_django_field.register(models.TimeField)
|
||||
def convert_date_to_string(field, registry=None):
|
||||
def convert_time_to_string(field, registry=None):
|
||||
return Time(description=field.help_text, required=not field.null)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user