graphene-django/graphene_django/filter
Luke Hodkinson 9ef31d849d Use maybe_queryset in DjangoFilterConnectionField
In our projects we've found a need to inherit from
DjangoFilterConnectionField in order to customize the queryset. When
passing the queryset into "connection_resolver", an error was
raised about "get_queryset" not existing. This is due to the
assumption that the "base_manager" is always a manager. Using
"maybe_queryset" resolves the issue.
2017-10-25 15:06:48 +11:00
..
tests Code adapted to new resolver API 2017-07-28 09:43:27 -07:00
__init__.py Remove filter order_by as Django Filters have deprecated it in 1.0 2016-11-23 02:15:05 -08:00
fields.py Use maybe_queryset in DjangoFilterConnectionField 2017-10-25 15:06:48 +11:00
filterset.py Removed unused imports 2016-11-23 02:30:14 -08:00
utils.py Removed unused imports 2016-11-23 02:30:14 -08:00