-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added bulk delete to version change view (#338)
* test: adds bulk delete failing test * feat: adds first functional draft of delete_selected method * test: adds new test case to check there is warning when published version is selected * Update test_admin.py for non sqlite testing * Add error messages, and update delete permission to include content object * fix: bugs in test_admin * Update test to new expectation: Do not delete anything if a published or draft version is amongst the selected objects * Delegate the content delete to the `delete_selected` method Update the queryset to contain content elements * Add test for confirmation message * Update tests/test_admin.py * Update admin.py * Update test_admin.py * Update test_admin.py * Update admin.py * Update djangocms_versioning/admin.py --------- Co-authored-by: Fabian Braun <[email protected]>
- Loading branch information
Showing
2 changed files
with
125 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters