Commit 5246a5a4 by German Ilyin Committed by GitHub

Fix a typo in a comment

parent c22e61d3
...@@ -138,7 +138,7 @@ def get_field_kwargs(field_name, model_field): ...@@ -138,7 +138,7 @@ def get_field_kwargs(field_name, model_field):
if not isinstance(validator, validators.MaxValueValidator) 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. # rather than as a validator.
min_value = next(( min_value = next((
validator.limit_value for validator in validator_kwarg validator.limit_value for validator in validator_kwarg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment