diff options
| author | Simon Charette <charette.s@gmail.com> | 2024-08-09 13:41:18 -0400 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2024-08-28 11:45:35 -0300 |
| commit | c87007ab60f69df7f991e5e6fe113dbaaba94787 (patch) | |
| tree | 18dc9c294a861739d5ebbfd9536bde18e73340d1 /docs | |
| parent | e435b44be6028f10585a4781646da33dc63a0f5c (diff) | |
[5.1.x] Refs #35060 -- Adjusted deprecation warning stacklevel in Model.save()/asave().
Backport of 52ed2b645e1dd8c9a874cfd21c4c9f2500032626 from main.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.1.1.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.1.1.txt b/docs/releases/5.1.1.txt index b8c2993933..84a61efec5 100644 --- a/docs/releases/5.1.1.txt +++ b/docs/releases/5.1.1.txt @@ -19,3 +19,7 @@ Bugfixes children). A new :class:`~django.contrib.auth.forms.AdminUserCreationForm` including this field was added, isolating the feature to the admin where it was intended (:ticket:`35678`). + +* Adjusted the deprecation warning ``stacklevel`` in :meth:`.Model.save` and + :meth:`.Model.asave` to correctly point to the offending call site + (:ticket:`35060`). |
