So something like this should do it: from django.db import models from django.db.models import signals from django.dispatch import dispatcher
def send_entry_created_email(): # do some work... class Entry(models.Model): # ... dispatcher.connect(send_entry_created_email, signal=signals.post_save, sender=Entry) Regards, -Alen On May 6, 7:41 pm, Jashugan <[EMAIL PROTECTED]> wrote: > On May 6, 10:40 am, Alen Ribic <[EMAIL PROTECTED]> wrote: > > > > > Not to sure though how one registers these signals. > > This seems somewhat > comprehensive:http://www.mercurytide.co.uk/whitepapers/django-signals/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---