// archives

comments

This tag is associated with 1 posts

Django 1.0 mail notification of new comments

There are some old samples available online for doing this, but the 1.0 version of Django is not compatible with those. So I thought I’d share my solution for sending notification mails whenever there’s been posted a new comment on my Django site using Django signals.
The old way of connecting to a signal was:
dispatcher.connect(myFunction, signal=models.signals.post_save, [...]

Categories

  • No categories

Django Hosting:

DjangoDays recommends the following Django hosting provider: