mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-01-31 11:48:38 +03:00
fix a typo in the warning (#884)
This commit is contained in:
parent
6a19ab5a4b
commit
7a14b77a41
|
@ -102,7 +102,7 @@ def validate_fields(type_, model, fields, only_fields, exclude_fields):
|
||||||
# Field is a custom field
|
# Field is a custom field
|
||||||
warnings.warn(
|
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.'
|
'Either remove the custom field or remove the field from the "exclude" list.'
|
||||||
).format(
|
).format(
|
||||||
field_name=name,
|
field_name=name,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user