Commit 3eade5ab by José Padilla Committed by GitHub

Merge pull request #5285 from minusf/master

typo: may -> many
parents 2d4226c2 9ec89141
......@@ -129,8 +129,8 @@ class ValidationError(APIException):
if code is None:
code = self.default_code
# For validation failures, we may collect may errors together, so the
# details should always be coerced to a list if not already.
# For validation failures, we may collect many errors together,
# so the details should always be coerced to a list if not already.
if not isinstance(detail, dict) and not isinstance(detail, list):
detail = [detail]
......
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