mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
[5.1.x] Refs #35060 -- Adjusted deprecation warning stacklevel in Model.save()/asave().
Backport of 52ed2b645e from main.
This commit is contained in:
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user