#34925: refresh_from_db() will not iterate through all of the fields listed in
the
'fields' parameter.
-------------------------------------+-------------------------------------
Reporter: Andrew Cordery | Owner: Trontelj
Type: Bug | Status: closed
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"b0ec87b8578147be4357c90eabcd2b916c780810" b0ec87b8]:
{{{
#!CommitTicketReference repository=""
revision="b0ec87b8578147be4357c90eabcd2b916c780810"
Fixed #34925 -- Prevented Model.refresh_from_db() from mutating list of
fields.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34925#comment:14>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/0107018c017c5154-a7578013-757b-4244-93b2-577b69cdfe54-000000%40eu-central-1.amazonses.com.