Skip to content

Commit 7a14b77

Browse files
authored
fix a typo in the warning (#884)
1 parent 6a19ab5 commit 7a14b77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_django/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def validate_fields(type_, model, fields, only_fields, exclude_fields):
102102
# Field is a custom field
103103
warnings.warn(
104104
(
105-
'Excluding the custom field "{field_name} on DjangoObjectType "{type_}" has no effect. '
105+
'Excluding the custom field "{field_name}" on DjangoObjectType "{type_}" has no effect. '
106106
'Either remove the custom field or remove the field from the "exclude" list.'
107107
).format(
108108
field_name=name,

0 commit comments

Comments
 (0)