trying to fix list inner types

This commit is contained in:
Mardanov Timur Rustemovich 2018-11-22 20:56:48 +03:00
parent cd67598c0b
commit 05093d862f

View File

@ -235,7 +235,7 @@ def convert_array_to_list(field, registry=None):
base_property = field.base_property or StringProperty()
return List(description=field.help_text,
required=field.required,
of_type=convert_django_field(base_property))
of_type=convert_django_field(base_property).__class__)
# @singledispatch
# def define_base_property(base_property):