diff options
| author | Marc Tamlyn <marc.tamlyn@gmail.com> | 2013-08-08 14:27:48 +0100 |
|---|---|---|
| committer | Marc Tamlyn <marc.tamlyn@gmail.com> | 2013-08-08 14:27:48 +0100 |
| commit | 1c4a9bd9ad1a8e61817c6aa2b0d8d0ad2c080047 (patch) | |
| tree | 84b15d8034a87406cc38163d3d94ec3731a7680b /django/forms/forms.py | |
| parent | fb1dd6b13a0e6b1ef64eac88467321d097942cd2 (diff) | |
Revert change to the default Form.clean()
This means it doesn't break for people who are doing
`cleaned_data = super(FooForm, self).clean()`.
Diffstat (limited to 'django/forms/forms.py')
| -rw-r--r-- | django/forms/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/forms.py b/django/forms/forms.py index 97ee72e98e..c2b700ce77 100644 --- a/django/forms/forms.py +++ b/django/forms/forms.py @@ -318,7 +318,7 @@ class BaseForm(object): not be associated with a particular field; it will have a special-case association with the field named '__all__'. """ - pass + return self.cleaned_data def has_changed(self): """ |
