Ian Holsman wrote: > (still a newbie on all this, so excuse me if this has been discussed > ad-nausieum beforehand) > > Hi. > > I've got a many to many table relationship... say > > Tags <--> People > > with the relationship defined on the 'people' model class. > > all is fantastic when I want to edit a person and add tags to them, > the generic (new-admin) views work and all is good with the world.. > I'm a happy little chappy. > > > BUT. > > if I want to edit a tag and add people to it, it all seems to not > work. it seems like the tag class is missing some crucial meta data > somewhere to say that it is related to the 'people' class. > > > do we need something added to the 'follow' dictionary when we create > the references to get_XXX_list on the tag table?. so it picks up the > table and generates the required info in the change manipulator? > > I think this could be fully automated so that it shouldn't make any > difference to anything as to where you specify the many2many field in > your model. > > regards > Ian
I'm not sure I understand your question. Is it that the methods generated by a ManyToMany field are not symetrical? Ie the object containing the ManyToMany gets different methods than the one it is pointing to? If so, this has nothing to do with 'follow', that is purely an addition to manipulators in new-admin. Robert
