How do I create a 'notify me of followup comments via e-mail' button in Django?
I want to create a check box that my users (either login or anonymous users) can click that sends an email when a new comment is added to a post. As a side note I would also like to send an em开发者_JAVA技巧ail to the Author of the post too. Thanks!
Use the django.contrib.comments.signals.comment_was_posted
signal. For an example, see http://timothyfletcher.com/blog/django-comment-email-notifications/
精彩评论