#36260: bulk_create() does not fetch primary keys if they are generated by 
database
-------------------------------------+-------------------------------------
     Reporter:  Dmitry Shachnev      |                    Owner:  Dmitry
                                     |  Shachnev
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  5.2
  (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:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):

 In [changeset:"7d9aab8da0a06787d649762a702e1a518d843a63" 7d9aab8]:
 {{{#!CommitTicketReference repository=""
 revision="7d9aab8da0a06787d649762a702e1a518d843a63"
 Refs #36260 -- Moved _is_pk_set checks into _prepare_for_bulk_create().

 To avoid looping over objs twice.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36260#comment:6>
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/01070195d1a9aecf-ca599080-ea1c-4df2-bae0-56b94e4c4153-000000%40eu-central-1.amazonses.com.

Reply via email to