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

Fix #521: delete object-orphaned Follows #523

Merged
merged 1 commit into from
Mar 31, 2023
Merged

Fix #521: delete object-orphaned Follows #523

merged 1 commit into from
Mar 31, 2023

Conversation

David-Guillot
Copy link
Contributor

@David-Guillot David-Guillot commented Dec 21, 2022

This fixes #521

... based on Django pre_delete signal
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 95.196% when pulling ba343eb on Contexte:feat--cascade-delete-follow into 890d13f on justquick:main.

@David-Guillot
Copy link
Contributor Author

@justquick the only LOC that's not covered by tests and make Coveralls unhappy is this one, that makes sure that the function is not executed when Django runs migrations. I don't even know how to test that edge case.

@David-Guillot
Copy link
Contributor Author

@justquick did you have a chance to review this?

@David-Guillot
Copy link
Contributor Author

@justquick this has been approved, is there any blocker for merging?

@auvipy auvipy merged commit d06e7e2 into justquick:main Mar 31, 2023
@David-Guillot David-Guillot deleted the feat--cascade-delete-follow branch March 31, 2023 08:31
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.

[Feature proposal] Delete Follow objects when the followed object is deleted?
3 participants