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

Create and send a "comment_removed" signal #7

Open
andymccurdy opened this issue Jul 9, 2012 · 1 comment
Open

Create and send a "comment_removed" signal #7

andymccurdy opened this issue Jul 9, 2012 · 1 comment

Comments

@andymccurdy
Copy link
Member

django.contrib.comments sends a comment_was_posted signal when a new comment is created. Marking a comment as removed (is_removed=True) should send a comment_removed signal for third party apps that need to take into account a comment being removed from the system.

@andymccurdy
Copy link
Member Author

The same signal should also be triggered if a comment is deleted. So perhaps a post_delete on comments.get_model() could also send this signal.

andymccurdy pushed a commit that referenced this issue Jul 10, 2012
…isten for. comment_removed is sent when a comment is deleted or when a comment's is_removed attribute is flipped from True to False.
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

No branches or pull requests

1 participant