mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #35988 -- Made BaseForm.full_clean() pass renderer to ErrorDict.
This commit is contained in:
committed by
Sarah Boyce
parent
1860a1afc9
commit
02628c051c
@@ -316,7 +316,7 @@ class BaseForm(RenderableFormMixin):
|
||||
"""
|
||||
Clean all of self.data and populate self._errors and self.cleaned_data.
|
||||
"""
|
||||
self._errors = ErrorDict()
|
||||
self._errors = ErrorDict(renderer=self.renderer)
|
||||
if not self.is_bound: # Stop further processing.
|
||||
return
|
||||
self.cleaned_data = {}
|
||||
|
||||
Reference in New Issue
Block a user