1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Revert change to the default Form.clean()

This means it doesn't break for people who are doing
`cleaned_data = super(FooForm, self).clean()`.
This commit is contained in:
Marc Tamlyn
2013-08-08 14:27:48 +01:00
parent fb1dd6b13a
commit 1c4a9bd9ad
3 changed files with 15 additions and 3 deletions

View File

@@ -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):
"""