mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 04:34:13 +03:00
Fixed django connection or list field. Fixed #43
This commit is contained in:
parent
3712542566
commit
3921e417ee
|
@ -34,7 +34,7 @@ class ConnectionOrListField(Field):
|
|||
field = DjangoConnectionField(field_object_type)
|
||||
else:
|
||||
field = LazyListField(field_object_type)
|
||||
field.contribute_to_class(self.object_type, self.name)
|
||||
field.contribute_to_class(self.object_type, self.attname)
|
||||
return schema.T(field)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user