From 48b36bb4a418e8a453eaec1c15e4a48c184e5328 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 27 Nov 2006 01:49:26 +0000 Subject: [PATCH] newforms: Removed redundant declaration of Form.clean(). Thanks, SmileyChris. Refs #3026 git-svn-id: http://code.djangoproject.com/svn/django/trunk@4115 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/newforms/forms.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/django/newforms/forms.py b/django/newforms/forms.py index 1422e0dd264..f04e04926a4 100644 --- a/django/newforms/forms.py +++ b/django/newforms/forms.py @@ -56,11 +56,6 @@ class Form(object): 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: