Skip to content

Commit 24855f7

Browse files
committed
Merge pull request #2987 from cosmith/patch-1
Fix minor typo
2 parents 512a6db + fa29f7d commit 24855f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ def get_field_names(self, declared_fields, info):
935935
# If `Meta.exclude` is included, then remove those fields.
936936
for field_name in exclude:
937937
assert field_name in fields, (
938-
"The field '{field_name}' was include on serializer "
938+
"The field '{field_name}' was included on serializer "
939939
"{serializer_class} in the 'exclude' option, but does "
940940
"not match any model field.".format(
941941
field_name=field_name,

0 commit comments

Comments
 (0)