summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2024-08-09 13:41:18 -0400
committerNatalia <124304+nessita@users.noreply.github.com>2024-08-28 11:45:35 -0300
commitc87007ab60f69df7f991e5e6fe113dbaaba94787 (patch)
tree18dc9c294a861739d5ebbfd9536bde18e73340d1 /docs
parente435b44be6028f10585a4781646da33dc63a0f5c (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.txt4
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`).