#24591: Copy ModelState.fields and ModelState.managers instead of cloning.
-------------------------------------+-------------------------------------
     Reporter:  knbk                 |                    Owner:  knbk
         Type:                       |                   Status:  assigned
  Cleanup/optimization               |
    Component:  Migrations           |                  Version:  master
     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 Tim Graham <timograham@…>):

 In [changeset:"516907540b81c009b74d29b2fa36319b47528b49" 51690754]:
 {{{
 #!CommitTicketReference repository=""
 revision="516907540b81c009b74d29b2fa36319b47528b49"
 [1.8.x] Refs #24591 -- Optimized cloning of ModelState objects.

 Changed ModelState.clone() to create a deepcopy of self.fields.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24591#comment:9>
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.48eb6e766bc106ef2c52231c91898afb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to