#24591: Copy ModelState.fields and ModelState.managers instead of cloning.
-------------------------------------+-------------------------------------
Reporter: knbk | Owner: knbk
Type: | Status: closed
Cleanup/optimization |
Component: Migrations | Version: master
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: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"1a1f16d67da7080241ad9f6b4325f22364ac57ba" 1a1f16d6]:
{{{
#!CommitTicketReference repository=""
revision="1a1f16d67da7080241ad9f6b4325f22364ac57ba"
Fixed #24591 -- Optimized cloning of ModelState objects.
Changed ModelState.clone() to create a shallow copy of self.fields
and self.managers.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24591#comment:10>
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/062.6766caa92077b5b6960e96ebe9547fd8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.