On 6/27/06, Tom Tobin <[EMAIL PROTECTED]> wrote:
> 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().

Argh.  I *really* have to keep better track of which list I'm
posting/replying to; this thread belongs on django-users.  :-)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to