#33579: Raise a specialized exception when Model.save(update_fields) does not
affect any rows
-------------------------------------+-------------------------------------
     Reporter:  Simon Charette       |                    Owner:  Simon
                                     |  Charette
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  4.0
  (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 Jacob Walls <jacobtylerwalls@…>):

 In [changeset:"6f8b2d1c6dfaab4b18a2b10bca4e54bdbabc10d8" 6f8b2d1]:
 {{{#!CommitTicketReference repository=""
 revision="6f8b2d1c6dfaab4b18a2b10bca4e54bdbabc10d8"
 Refs #33579 -- Added extra tests for NotUpdated exception.

 When `NotUpdated` was added in ab148c02cedbac492f29930dcd5346e1af052635,
 these additional tests that have equivalents for the `DoesNotExist` and
 `MultipleObjectsReturned` exceptions were missed.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/33579#comment:19>
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/0107019c2e2badab-5f208fe2-7522-41a7-84ef-821b082444af-000000%40eu-central-1.amazonses.com.

Reply via email to