Permalink
Browse files

newforms: Removed redundant declaration of Form.clean(). Thanks, Smil…

…eyChris. Refs #3026

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent a08ed9d commit 48b36bb4a418e8a453eaec1c15e4a48c184e5328 @adrianholovaty adrianholovaty committed Nov 27, 2006
Showing with 0 additions and 5 deletions.
  1. +0 −5 django/newforms/forms.py
View
5 django/newforms/forms.py
@@ -56,11 +56,6 @@ def __getitem__(self, name):
raise KeyError('Key %r not found in Form' % name)
return BoundField(self, field, name)
- def clean(self):
- if self.__errors is None:
- self.full_clean()
- return self.clean_data
-
def errors(self):
"Returns an ErrorDict for self.data"
if self.__errors is None:

0 comments on commit 48b36bb

Please sign in to comment.