Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 48b36bb4a418e8a453eaec1c15e4a48c184e5328 1 parent a08ed9d
@adrianholovaty adrianholovaty authored
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:
Please sign in to comment.
Something went wrong with that request. Please try again.