diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-11-27 01:49:26 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-11-27 01:49:26 +0000 |
| commit | 48b36bb4a418e8a453eaec1c15e4a48c184e5328 (patch) | |
| tree | 25ef61db12e471a3639c9b031a0773e071f6a8fa | |
| parent | a08ed9d165e04a43650740701b1c3737134d7271 (diff) | |
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
| -rw-r--r-- | django/newforms/forms.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/django/newforms/forms.py b/django/newforms/forms.py index 1422e0dd26..f04e04926a 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: |
