Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#9882 closed (fixed)

ModelForm.save() method must have alters_data=True

Reported by: dc Owned by: nobody
Component: Uncategorized Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Model.save() method has alters_data=True but ModelForm.save() has not. But it has side effects and can be called from templates. Thats also correct for ModelFormSets.

Change History (2)

comment:1 by Gary Wilson, 16 years ago

Resolution: fixed
Status: newclosed

(In [9678]) Fixed #9882 -- Added alters_data = True to BaseModelForm.save method, thanks dc.

comment:2 by Gary Wilson, 16 years ago

(In [9679]) [1.0.X] Fixed #9882 -- Added alters_data = True to BaseModelForm.save method, thanks dc.

Backport of r9678 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top