mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 20:54:16 +03:00
Improved django defaults
This commit is contained in:
parent
7d59489183
commit
86fe19d84c
|
@ -61,8 +61,7 @@ class DjangoObjectTypeMeta(ObjectTypeMeta):
|
||||||
if DJANGO_FILTER_INSTALLED:
|
if DJANGO_FILTER_INSTALLED:
|
||||||
# In case Django filter is available, then
|
# In case Django filter is available, then
|
||||||
# we allow more attributes in Meta
|
# we allow more attributes in Meta
|
||||||
defaults = dict(
|
defaults.update(
|
||||||
defaults,
|
|
||||||
filter_fields=(),
|
filter_fields=(),
|
||||||
filter_order_by=(),
|
filter_order_by=(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user