1
0
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:
Jannis Leidel
2010-09-26 21:36:22 +00:00
parent d8d38ec6e7
commit 1df1378f9e
11 changed files with 16 additions and 20 deletions

View File

@@ -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():