#36654: Incorrect docstring in model _do_update
-------------------------------------+-------------------------------------
     Reporter:  Václav Řehák         |                     Type:
                                     |  Cleanup/optimization
       Status:  new                  |                Component:  Database
                                     |  layer (models, ORM)
      Version:  6.0                  |                 Severity:  Normal
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 In 55a0073b3beb9de8f7c1f7c44a7d0bc10126c841 _do_update was changed not to
 return bool but a list of updated fileds but the docstring at
 https://github.com/django/django/blob/main/django/db/models/base.py#L1185
 was not updated


 {{{
 Try to update the model. Return True if the model was updated (if an
 update query was done and a matching row was found in the DB).
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36654>
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/01070199cd7e4a27-861d73a2-0e06-4a76-85e4-61f6fa5f2bbf-000000%40eu-central-1.amazonses.com.

Reply via email to