From: "william" <will...@opensource4you.com>
Date: Sun, 09 Jul 2006 00:26:35 -0700
Local: Sun, Jul 9 2006 3:26 am
Subject: Re: Cannot use the save() correctly
Thanks Malcome, I was thinking of a kind of dispatch.connect "related-pre-save" and The idea to look at the manipulator is not bad too. Malcolm Tredinnick wrote:
> On Sat, 2006-07-08 at 17:49 +0000, william wrote: > > I've been trough the save() as documented here: > > http://code.djangoproject.com/wiki/RemovingTheMagic#Overridingsaveand... > > But, this does not work for fields having a ManyToMany relation. > > If you put the following into the "Article" class: > > You'll see that you'll always see the same result before and after the > Related items (the things being saved into the many-to-many relation) > At the moment, any workaround is going to involve custom manipulators, I > This does come up from time to time when somebody wants to take action > Sorry, not much encouragement there except to say it's a known problem > Regards, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||