From e468ee97da9a53f632047dc57eaf9eeb4acca67c Mon Sep 17 00:00:00 2001 From: Jim King Date: Sat, 9 Apr 2022 03:06:45 -0400 Subject: [PATCH] issue-914: ValidationError.error_dict type fix (#915) --- django-stubs/core/exceptions.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django-stubs/core/exceptions.pyi b/django-stubs/core/exceptions.pyi index c15e6fb..025e32a 100644 --- a/django-stubs/core/exceptions.pyi +++ b/django-stubs/core/exceptions.pyi @@ -45,7 +45,7 @@ _MsgType = Union[ ] class ValidationError(Exception): - error_dict: Dict[str, ValidationError] = ... + error_dict: Dict[str, List[ValidationError]] = ... error_list: List[ValidationError] = ... message: str = ... code: Optional[str] = ...