[Django] #32960: Undocumented breaking changes of get_deleted_objects()

9 views
Skip to first unread message

Django

unread,
Jul 22, 2021, 7:32:57 AM7/22/21
to django-...@googlegroups.com
#32960: Undocumented breaking changes of get_deleted_objects()
-----------------------------------------+------------------------
Reporter: Karol Onyśko | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 2.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
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

--
Ticket URL: <https://code.djangoproject.com/ticket/32960>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 22, 2021, 4:53:54 PM7/22/21
to django-...@googlegroups.com
#32960: Undocumented breaking changes of get_deleted_objects()
-------------------------------+--------------------------------------

Reporter: Karol Onyśko | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: 2.1
Severity: Normal | Resolution: wontfix

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => wontfix


Comment:

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.

--
Ticket URL: <https://code.djangoproject.com/ticket/32960#comment:1>

Reply all
Reply to author
Forward
0 new messages