From 5246a5a44ebc52a2d2df88ca41d8a69b09c987c3 Mon Sep 17 00:00:00 2001 From: German Ilyin Date: Thu, 4 May 2017 10:13:58 +0600 Subject: [PATCH] Fix a typo in a comment --- rest_framework/utils/field_mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/utils/field_mapping.py b/rest_framework/utils/field_mapping.py index cc82492dc..44c6d4b70 100644 --- a/rest_framework/utils/field_mapping.py +++ b/rest_framework/utils/field_mapping.py @@ -138,7 +138,7 @@ def get_field_kwargs(field_name, model_field): if not isinstance(validator, validators.MaxValueValidator) ] - # Ensure that max_value is passed explicitly as a keyword arg, + # Ensure that min_value is passed explicitly as a keyword arg, # rather than as a validator. min_value = next(( validator.limit_value for validator in validator_kwarg