Opened 3 years ago
Closed 3 years ago
#32960 closed Bug (wontfix)
Undocumented breaking changes of get_deleted_objects()
Reported by: | Karol Onyśko | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 2.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hello,
Below listed commit changes mechanism of checking permission for related objects when deleting object through the admin panel. Before permission was checked for the user and now if admin exists then it check through admin method has_delete_permission(). It is not documented in the release notes and it broke my code, it would be nice to add it there.
https://github.com/django/django/commit/0eca99dadeed76bf0ac1a3cf4b62926ae5717319
Note:
See TracTickets
for help on using tickets.
If you want to offer a patch, I suppose we could consider it, however, Django 2.1 has been end of life since December 2019 and even users sticking with 1.11 LTS should have migrated to the next LTS (2.2) before April 2020, so I doubt there's much benefit to documenting this at this point.