#35425: .save(force_update=True) not respected for model instances with default
primary keys
-------------------------------------+-------------------------------------
     Reporter:  Jacob Walls          |                    Owner:  Jacob
                                     |  Walls
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  4.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
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):

 * resolution:   => fixed
 * status:  assigned => closed

Comment:

 In [changeset:"ceea86baa36b91d0002911770340a2d7bd4f64b7" ceea86b]:
 {{{#!CommitTicketReference repository=""
 revision="ceea86baa36b91d0002911770340a2d7bd4f64b7"
 Fixed #35425 -- Avoided INSERT with force_update and explicit pk.

 Affected models where the primary key field is defined with a
 default or db_default, such as UUIDField.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35425#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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f528d24ec-b78d1021-54a4-4705-b75e-60bab6661090-000000%40eu-central-1.amazonses.com.

Reply via email to