Fixed old DjangoConnectionField usage

This commit is contained in:
Syrus Akbary 2015-12-03 23:23:18 -08:00
parent 0fa7f5c9aa
commit 967a9d2d03

View File

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