mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-10-29 15:07:53 +03:00
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. |
||
|---|---|---|
| .. | ||
| debug | ||
| filter | ||
| management | ||
| rest_framework | ||
| templates/graphene | ||
| tests | ||
| __init__.py | ||
| compat.py | ||
| converter.py | ||
| fields.py | ||
| form_converter.py | ||
| forms.py | ||
| registry.py | ||
| settings.py | ||
| types.py | ||
| utils.py | ||
| views.py | ||