You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our use case we want to delete Follow objects when the followed object is deleted. We implemented that with Django pre_delete signal, and we thought that this piece of code was generic enough to maybe be integrated in actstream.
What do you think @justquick ? Maybe it could be conditioned to a setting if you don't want this behavior to be applied to everyone.
If you agree I can submit a PR today 😉
The text was updated successfully, but these errors were encountered:
yes that seems like a great idea thanks! i notice i have put on_delete=models.CASCADE, in the follow model's gfk but that's only tied to the django content type model since its a gfk. looks like i tried to do what you all did and didnt do it right. please send me a pr w/ that signal
Hi there,
In our use case we want to delete
Follow
objects when the followed object is deleted. We implemented that with Djangopre_delete
signal, and we thought that this piece of code was generic enough to maybe be integrated in actstream.What do you think @justquick ? Maybe it could be conditioned to a setting if you don't want this behavior to be applied to everyone.
If you agree I can submit a PR today 😉
The text was updated successfully, but these errors were encountered: