1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Renamed "object" argument of ModelAdmin.log_addition(), log_change(), and log_deletion() methods.

This commit is contained in:
David Sanders
2021-05-19 12:07:48 -07:00
committed by Mariusz Felisiak
parent 2978c63a34
commit 736bb9868a
3 changed files with 16 additions and 13 deletions

View File

@@ -426,6 +426,9 @@ Miscellaneous
* The undocumented ``HttpRequest.get_raw_uri()`` method is removed. The
:meth:`.HttpRequest.build_absolute_uri` method may be a suitable alternative.
* The ``object`` argument of undocumented ``ModelAdmin.log_addition()``,
``log_change()``, and ``log_deletion()`` methods is renamed to ``obj``.
.. _deprecated-features-4.0:
Features deprecated in 4.0