#27222: Refresh fields that are expressions after Model.save()
-------------------------------------+-------------------------------------
Reporter: holvianssi | Owner: Simon
| Charette
Type: New feature | Status: assigned
Component: Database layer | Version: 1.10
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"55a0073b3beb9de8f7c1f7c44a7d0bc10126c841" 55a0073b]:
{{{#!CommitTicketReference repository=""
revision="55a0073b3beb9de8f7c1f7c44a7d0bc10126c841"
Refs #27222 -- Refreshed GeneratedFields values on save() initiated
update.
This required implementing UPDATE RETURNING machinery that heavily
borrows from the INSERT one.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27222#comment:15>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070199453217a0-d39fe8df-28c5-4907-b629-cacf13639f69-000000%40eu-central-1.amazonses.com.