diff options
| author | Adam Johnson <me@adamj.eu> | 2024-06-25 17:12:10 +0100 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2024-06-25 13:14:19 -0300 |
| commit | 387172918f65762578d93a9b3f94d20209f7a769 (patch) | |
| tree | ae02f307566ddee1bec0aababf1d0e009078cc90 /docs/_ext/github_links.py | |
| parent | 38248588f66591d7a9fede0de6eb7f0ae1b6ada9 (diff) | |
[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 <124304+nessita@users.noreply.github.com>
Backport of 28522c3c8d5eb581347aececc3ac61c134528114 from main.
Diffstat (limited to 'docs/_ext/github_links.py')
0 files changed, 0 insertions, 0 deletions
