Admin: Add deletion summary
|Reported by:||Jonas H.||Owned by:||Areski Belaid|
|Cc:||Areski Belaid||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Here's a first version of a patch that adds a short
modelname => number-of-deleted-objects-of-that-model map to the admin object deletion confirmation page.
The patch is by no means RFC, it's only meant to be a first sketch in order to get feedback about the idea in general. I've also done some refactoring as preparation for implementing this feature. To be specific, there was some code that mixed logic and presentation that is now a bit more separated; although there's still potential to reduce complexity by factoring
get_deleted_objects *into* the views (i.e. removing the helper function entirely).
Change History (17)
comment:14 Changed 3 years ago by
|Patch needs improvement:||unset|