diff --git a/graphene_django_extras/converter.py b/graphene_django_extras/converter.py index 836812d..1e131fd 100644 --- a/graphene_django_extras/converter.py +++ b/graphene_django_extras/converter.py @@ -341,7 +341,7 @@ def dynamic_type(): required=is_required(field) and input_flag == 'create' ) - _type = registry.get_type(model, _type=input_flag) + _type = registry.get_type_for_model(model, for_input=input_flag) if not _type: return @@ -404,7 +404,7 @@ def dynamic_type(): if input_flag: return - _type = registry.get_type(model) + _type = registry.get_type_for_model(model) if not _type: return return DjangoListField(_type)