From 58c266cb1e69b8d2290daec97c100889b8c22ab5 Mon Sep 17 00:00:00 2001 From: Gabor Markowski Date: Sun, 23 Feb 2020 00:01:11 +0000 Subject: [PATCH] fix a typo in the warning --- graphene_django/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene_django/types.py b/graphene_django/types.py index 922790c2a..0c0cb1cf5 100644 --- a/graphene_django/types.py +++ b/graphene_django/types.py @@ -102,7 +102,7 @@ def validate_fields(type_, model, fields, only_fields, exclude_fields): # Field is a custom field warnings.warn( ( - 'Excluding the custom field "{field_name} on DjangoObjectType "{type_}" has no effect. ' + 'Excluding the custom field "{field_name}" on DjangoObjectType "{type_}" has no effect. ' 'Either remove the custom field or remove the field from the "exclude" list.' ).format( field_name=name,