Skip to content

Conversation

guel-codes
Copy link
Contributor

Overview

We have a management command to remove orphaned tags but I also wanted to add functionality to do it as an admin action from the drop down list.

Preview

@rtpg rtpg force-pushed the admin-orphaned-tags branch from 89c37e6 to 1676c77 Compare October 9, 2024 03:59
@rtpg
Copy link
Contributor

rtpg commented Oct 9, 2024

Alright, tweaked this one up to have an orphaned queryset method, and so that the orphan cleanup only happens within the selected tags (matching the principle that actions occur only among the selected data, it's two clicks to select everything)

@rtpg rtpg force-pushed the admin-orphaned-tags branch from 42e359d to 2181a42 Compare October 9, 2024 04:05
@rtpg rtpg merged commit f4f82af into jazzband:master Oct 10, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants