Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WC2-615 Delete instances and entities: Add option to filter on entity_type_id #1861

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bramj
Copy link
Contributor

@bramj bramj commented Dec 11, 2024

Context: When we don't have direct DB access, we cannot remove an EntityType when there are already entities associated, because the Django admin only allows soft deletion of entities.

Now on WFP we need to remove some incorrect entity types (on QA). There was already a little script, executable via a simple page, to remove all entities and instances on an account. I just updated this to be able to filter on a specific entity_type_id.

Related JIRA tickets : https://bluesquare.atlassian.net/browse/WC2-615

Beautiful page:

image

@bramj bramj self-assigned this Dec 11, 2024
@bramj bramj requested a review from mathvdh December 12, 2024 08:09
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.

1 participant