Fix minor typo

This commit is contained in:
Corentin Smith 2015-05-30 17:57:35 +02:00
parent 512a6db21e
commit fa29f7dd1f

View File

@ -935,7 +935,7 @@ class ModelSerializer(Serializer):
# If `Meta.exclude` is included, then remove those fields.
for field_name in exclude:
assert field_name in fields, (
"The field '{field_name}' was include on serializer "
"The field '{field_name}' was included on serializer "
"{serializer_class} in the 'exclude' option, but does "
"not match any model field.".format(
field_name=field_name,