Changes between Version 1 and Version 2 of Ticket #10919, comment 9
- Timestamp:
- Oct 4, 2018, 3:22:25 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10919, comment 9
v1 v2 1 1 Actually, removing **deleted_objects** from **context** doesn't prevent from collecting related items by **django.contrib.admin.utils.NestedObjects** in **django.contrib.admin.utils.get_deleted_objects** 2 Maybe it better off to override **get_deleted_objects** function . But there appears new issue: How to check permissions and protected foreign keys for related items?..2 Maybe it better off to override **get_deleted_objects** function (Django 2.1+ has this method inside AdminModel class). But there appears new issue: How to check permissions and protected foreign keys for related items?..