fix a typo in the warning (#884)

This commit is contained in:
Gabor Markowski 2020-02-23 09:47:41 +00:00 committed by GitHub
parent 6a19ab5a4b
commit 7a14b77a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,