We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1378347 commit f937009Copy full SHA for f937009
1 file changed
bolt/forms/forms.py
@@ -214,10 +214,6 @@ def full_clean(self):
214
if not self.is_bound: # Stop further processing.
215
return
216
self.cleaned_data = {}
217
- # If the form is permitted to be empty, and none of the form data has
218
- # changed from the initial data, short circuit any validation.
219
- if not self.has_changed():
220
- return
221
222
self._clean_fields()
223
self._clean_form()
@@ -276,10 +272,6 @@ def clean(self):
276
272
"""
277
273
return self.cleaned_data
278
274
279
- def has_changed(self):
280
- """Return True if data differs from initial."""
281
- return bool(self.changed_data)
282
-
283
275
@cached_property
284
def changed_data(self):
285
return [name for name, bf in self._bound_items() if bf._has_changed()]
0 commit comments