On 2/6/06, Brice Carpentier <[EMAIL PROTECTED]> wrote: > > Hi, > I've got an Article object (what a surprise !), and was willing to > relate it to other articles > My initial plan was to use a ManyToMany relationship, but it doesn't > seem to be possible (I tried specifying "self"). > I also tried to specify my ManyToMany relationship using an > intermediary table, but this doesn't seem to be edited inline (I get a > "bool object is not callable" error). Am I missing something ?
No - this looks like it is a bug. The recursive relationship handling doesn't appear to be implemented for ManyToMany fields in the trunk. This has been fixed in magic-removal, so "self" or "Article" would both be valid for defining a recursive ManyToMany field. However, there is a related problem - the SQL that is currently generated for this situation is currently incorrect. I've logged this as bug #1346 (http://code.djangoproject.com/ticket/1346) Yours, Russ Magee %-)