Fixed django connection or list field. Fixed #43

This commit is contained in:
Syrus Akbary 2015-11-20 08:31:53 -08:00
parent 3712542566
commit 3921e417ee

View File

@ -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)