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, [...]
A great beginners tutorial is the “Create a Wiki in 20 minutes” by Siddhi from Silver Stripe Software.
In the tutorial you’ll learn the basics of Django by walking you through the development of a simple wiki application. Other aspects in the tutorial are: URL design, database interaction, Django templates and editing pages using Markdown syntax.
The [...]
The best tutorial to start with when beginning with Django is found on the Django Project website (www.djangoproject.com).
It assumes you already have Django installed, and takes you through the basics of the fabulous framework:
http://docs.djangoproject.com/en/dev/intro/tutorial01/