From 775221c42789c8f59589d39c336b87c472b817de Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Sat, 15 Oct 2016 18:19:34 -0700 Subject: [PATCH] Fixed returns in class init --- graphene_django/fields.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphene_django/fields.py b/graphene_django/fields.py index c44b56e..74ac4d3 100644 --- a/graphene_django/fields.py +++ b/graphene_django/fields.py @@ -12,7 +12,7 @@ from .utils import DJANGO_FILTER_INSTALLED, maybe_queryset class DjangoListField(Field): def __init__(self, _type, *args, **kwargs): - return super(DjangoListField, self).__init__(List(_type), *args, **kwargs) + super(DjangoListField, self).__init__(List(_type), *args, **kwargs) @property def model(self): @@ -30,7 +30,7 @@ class DjangoConnectionField(ConnectionField): def __init__(self, *args, **kwargs): self.on = kwargs.pop('on', False) - return super(DjangoConnectionField, self).__init__(*args, **kwargs) + super(DjangoConnectionField, self).__init__(*args, **kwargs) @property def model(self):