#35554: Model.save() positional argument parsing slightly incorrect
-------------------------------------+-------------------------------------
     Reporter:  Adam Johnson         |                    Owner:  Adam
                                     |  Johnson
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  5.1
  (models, ORM)                      |
     Severity:  Release blocker      |               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 Natalia <124304+nessita@…>):

 In [changeset:"387172918f65762578d93a9b3f94d20209f7a769" 38717291]:
 {{{#!CommitTicketReference repository=""
 revision="387172918f65762578d93a9b3f94d20209f7a769"
 [5.1.x] Fixed #35554, Refs #35060 -- Corrected deprecated *args parsing in
 Model.save()/asave().

 The transitional logic added to deprecate the usage of *args for
 Model.save()/asave() introduced two issues that this branch fixes:
  * Passing extra positional arguments no longer raised TypeError.
  * Passing a positional but empty update_fields would save all fields.

 Co-authored-by: Natalia <[email protected]>

 Backport of 28522c3c8d5eb581347aececc3ac61c134528114 from main.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35554#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 on the web visit 
https://groups.google.com/d/msgid/django-updates/01070190502d9a67-c5c5cd23-7740-45aa-adb4-ea99273cff3a-000000%40eu-central-1.amazonses.com.

Reply via email to