Skip to content

Commit

Permalink
Merge pull request #80 from Chris7/add-results_field_name-to-django-s…
Browse files Browse the repository at this point in the history
…erializer

Add results_field_name to DjangoSerializerType factory function
  • Loading branch information
eamigo86 authored Nov 4, 2018
2 parents 1c95c88 + 01a03e7 commit 7c0a542
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 7c0a542

Please sign in to comment.