#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.