Skip to content

Commit

Permalink
Add results_field_name to DjangoSerializerType factory function
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris7 committed Oct 17, 2018
1 parent 1c95c88 commit 01a03e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion graphene_django_extras/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ def __init_subclass_with_meta__(cls, serializer_class=None, queryset=None, only_
'nested_fields': nested_fields,
'registry': registry,
'skip_registry': False,
'filterset_class': filterset_class
'filterset_class': filterset_class,
'results_field_name': results_field_name,
}

output_type = registry.get_type_for_model(model)
Expand Down

0 comments on commit 01a03e7

Please sign in to comment.