mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 13:04:03 +03:00
Merge pull request #5119 from yunmanger1/yunmanger1-comment-typo-fix
Fix a typo in a comment
This commit is contained in:
commit
36aea309fd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user