Set alters_data=True
on model methods as appropriate
#9077
Labels
status: accepted
This issue has been accepted for implementation
type: housekeeping
Changes to the application which do not directly impact the end user
Milestone
Proposed Changes
Audit the code base and set
alters_data=True
on all model methods which alter object data.Justification
The Django documentation recommends this to avoid accidentally calling potentially destructive methods when rendering templates.
The text was updated successfully, but these errors were encountered: