From 3da4b2bbcc1c6b2a14ac81af8741752ebc1e4848 Mon Sep 17 00:00:00 2001 From: colan Date: Thu, 27 Apr 2017 21:25:31 -0400 Subject: [PATCH] fix linter and comment --- graphene_django/types.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/graphene_django/types.py b/graphene_django/types.py index 6a1e2a8..4f5e826 100644 --- a/graphene_django/types.py +++ b/graphene_django/types.py @@ -141,7 +141,6 @@ def convert_fields(model, only_fields, exclude_fields): converted = convert_django_field_with_choices(field, None) if not converted: continue - fields[name] = converted print(fields) return fields @@ -171,8 +170,8 @@ class DjangoModelInputMeta(type): class DjangoModelInput(six.with_metaclass(DjangoModelInputMeta)): """ - Derive a mutation's Input class from this and define a meta class with - `model` and `only_fields` members. This will populate the input class + Derive a mutation's Input class from this and define a meta class with + `model` and `only_fields` and 'exclude_field' members. This will populate the input class with the converted django members. """ - pass \ No newline at end of file + pass