From 45542b6a93fb411db0f46494bc18003ab962fdd7 Mon Sep 17 00:00:00 2001 From: momamene Date: Wed, 14 Dec 2016 12:13:11 +0000 Subject: [PATCH] Remove meaningless guard --- graphene_django/types.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/graphene_django/types.py b/graphene_django/types.py index 76622f7..b6e4b5e 100644 --- a/graphene_django/types.py +++ b/graphene_django/types.py @@ -33,8 +33,6 @@ def construct_fields(options): # Or when there is no back reference. continue converted = convert_django_field_with_choices(field, options.registry) - if not converted: - continue fields[name] = converted return fields