fix a typo in the warning

This commit is contained in:
Gabor Markowski 2020-02-23 00:01:11 +00:00
parent 6a19ab5a4b
commit 58c266cb1e

View File

@ -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,