Δ All posts
emailing django comments
27 September 2008
Rather than all the blah blah blah, here's the directory structure of yeago-email-comment.tar:
/ _ _ init _ _ .py <-- contains a signal firing the email after a comment is made/templates/ <-- a directory
/templates/comments/ <-- another directory
/templates/comments/email_comment_template.txt <-- the email which will be sent
The subject line is:
("%s - Comment on %s") % (site.name,comment.content_object)
What more could you possibly desire? Oh, I know I could make a subject.txt... but I've got to save something for 2.0 (slated April 2011).
Other nifty things:
- You may set EMAIL_MODERATORS in your settings, or you may not (and it will use ADMINS)
- The email is sent with a 'delete' link which will work. If you get weird problems redirecting TOO BAD this is django-comments-email, and it already did what it promised it would do.
In case you missed it, link to download yeago-email-comment.tar

Comments
1 bill says...
I couldn't find any contact info on your site other than your twitter username, so for lack of a better method I'm leaving an irrelevant comment (sorry).
Send me a message if you're interested in some work.
Posted at 1:51 p.m. on October 6, 2008