﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33375	Admin changelist_formset does not use the Admin queryset	François Freitag	nobody	"I’m implementing soft-deletion for `models.Model`s with a `BooleanField` named `deleted`. For the entire system (except Django admin), an object `deleted=True` no longer exist. That is implemented by setting the default manager to an `objects` manager that ignores `deleted=True` rows.
For the admin, I’m overriding the queryset to include `deleted=True`.

When using `list_editable = [""deleted""]`, the soft-deleted objects cannot be re-activated. The reason is that the `id` field in the `changelist_formset` uses the `_default_manager` (`objects`).
I do not want to make `include_deleted` the default manager, as any model field in the system would use that instead of the `objects`, unless overridden.

IMO, the admin should be using the result of `get_queryset()` for the changelist_formset `id` field Queryset.
Happy to attempt patching if the ticket is accepted."	Bug	closed	contrib.admin	dev	Normal	wontfix		François Freitag	Unreviewed	0	0	0	0	0	0
