I've never used signals before and I think I came to a point when I need to start doing that.
What I need is to call some function just after the User is saved. According to the docs that I found about signals, I should do something like: # --- code --- # from django.contrib.auth.models import User from django.dispatch import dispatcher def my_function_to_call(sender, instance, signal, *args, **kwargs): pass dispatcher.connect(my_function_to_call, signal=signals.post_save, sender=User) # --- /code --- # Where should I put this code, so that I wouldn't need to modify the contributed models and the code was read and executed when the user is saved? Regards, Aidas Bendoraitis [aka Archatas] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---