#25008: New value should be replaced with F() Object after save method is called
----------------------------------------------+----------------------
Reporter: aykut | Owner: nobody
Type: New feature | Status: new
Component: Database layer (models, ORM) | Version: master
Severity: Normal | Keywords: F Object
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+----------------------
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/25008>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/048.a22bcc01ea519549674e407045a2907a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.