mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #13827 -- Cleaned up a few unnecessary function calls.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -268,7 +268,7 @@ class BaseForm(StrAndUnicode):
|
||||
self._clean_form()
|
||||
self._post_clean()
|
||||
if self._errors:
|
||||
delattr(self, 'cleaned_data')
|
||||
del self.cleaned_data
|
||||
|
||||
def _clean_fields(self):
|
||||
for name, field in self.fields.items():
|
||||
|
||||
Reference in New Issue
Block a user