#30326 closed Cleanup/optimization (fixed)
Document how to avoid F() assignments persistence
Reported by: | Sage Abdullah | Owned by: | Sage Abdullah |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | documentation, models, expressions |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
In F()
expressions documentation, it nicely explains that F() assignments persist after Model.save(). However, it does not explain how to avoid this persistence after we're done using the expression (which can be done by reloading the object). I think it'll be helpful to add this information in the docs.
Change History (8)
comment:1 Changed 4 years ago by
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 Changed 4 years ago by
Owner: | changed from nobody to Sage Abdullah |
---|---|
Status: | new → assigned |
comment:3 Changed 4 years ago by
Has patch: | set |
---|
comment:4 Changed 4 years ago by
Patch needs improvement: | set |
---|
comment:5 Changed 4 years ago by
Patch needs improvement: | unset |
---|
comment:6 Changed 4 years ago by
Triage Stage: | Accepted → Ready for checkin |
---|
Note: See
TracTickets for help on using
tickets.
PR