Opened 9 years ago
Closed 9 years ago
#25008 closed New feature (duplicate)
Replace F() Object with updated value after save method is called
Reported by: | Aykut Özat | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | F Object |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It is dirty and annoying to reload the new object, every time F()
is used.
So replacing fields expressed by F()
with the updated values just like having id
when you create objects, would be very useful.
I think it will be possible on Oracle and PostgreSQL, since only they support RETURNING
. However it is still a cool feature to have.
Change History (2)
comment:1 by , 9 years ago
Summary: | New value should be replaced with F() Object after save method is called → Replace F() Object with updated value after save method is called |
---|
comment:2 by , 9 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #23386