On 6/27/06, toth anna <[EMAIL PROTECTED]> wrote: > > Tom Tobin <[EMAIL PROTECTED]>: > > You should be able to get the behavior you want by > overriding the > > save() method on your models. > > Is there any usable examples somewhere for me?
Here's the general idea: http://www.djangoproject.com/documentation/models/save_delete_hooks/ In the save() method, place whatever logic you want to run before you call the "real" save() via super(). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~----------~----~----~----~------~----~------~--~---