mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
default connection_on = nodes
This commit is contained in:
parent
ff8043d642
commit
2465b1ab20
|
@ -31,7 +31,7 @@ class DjangoListField(Field):
|
|||
|
||||
class DjangoConnectionField(ConnectionField):
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.on = kwargs.pop("on", False)
|
||||
self.on = kwargs.pop("on", "nodes")
|
||||
self.max_limit = kwargs.pop(
|
||||
"max_limit", graphene_settings.RELAY_CONNECTION_MAX_LIMIT
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user