From fa29f7dd1fd8878368f885c4d62f9b92ff3382ea Mon Sep 17 00:00:00 2001 From: Corentin Smith Date: Sat, 30 May 2015 17:57:35 +0200 Subject: [PATCH] Fix minor typo --- rest_framework/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/serializers.py b/rest_framework/serializers.py index 8e1e50bc7..73ac6bc2a 100644 --- a/rest_framework/serializers.py +++ b/rest_framework/serializers.py @@ -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,