mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-12-01 14:03:46 +03:00
dd0d6ef28f
* Remove Python 2 support * Upgrade Python & Django versions * Remove unsupported Django versions * Remove unsupported Python versions * Add Python 3.8 * Drop support for django-filter < 2 * Update LoginRequiredMixin doc link * Remove redundant import * Resolve RemovedInDjango40Warning warnings * gql/graphene-django/graphene_django/tests/test_converter.py:175: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy(). * graphene-django/graphene_django/utils/utils.py:28: RemovedInDjango40Warning: force_text() is deprecated in favor of force_str(). * No need to use unicode strings with Python3 * Remove singledispatch dependency singledispatch is inluded with Python >= 3.4, no need for external package.
20 lines
382 B
Python
20 lines
382 B
Python
from .testing import GraphQLTestCase
|
|
from .utils import (
|
|
DJANGO_FILTER_INSTALLED,
|
|
camelize,
|
|
get_model_fields,
|
|
get_reverse_fields,
|
|
is_valid_django_model,
|
|
maybe_queryset,
|
|
)
|
|
|
|
__all__ = [
|
|
"DJANGO_FILTER_INSTALLED",
|
|
"get_reverse_fields",
|
|
"maybe_queryset",
|
|
"get_model_fields",
|
|
"camelize",
|
|
"is_valid_django_model",
|
|
"GraphQLTestCase",
|
|
]
|