mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 12:16:58 +03:00
Fixed old DjangoConnectionField usage
This commit is contained in:
parent
0fa7f5c9aa
commit
967a9d2d03
|
@ -27,7 +27,7 @@ class ConnectionOrListField(Field):
|
|||
if not field_object_type:
|
||||
raise SkipField()
|
||||
if is_node(field_object_type):
|
||||
field = DjangoConnectionField(field_object_type)
|
||||
field = ConnectionField(field_object_type)
|
||||
else:
|
||||
field = Field(List(field_object_type))
|
||||
field.contribute_to_class(self.object_type, self.attname)
|
||||
|
|
Loading…
Reference in New Issue
Block a user