Re: Relating an object to itself, many-to-MANY

2005-09-05 Thread Adrian Holovaty
On 9/5/05, Milton <[EMAIL PROTECTED]> wrote: > Is there a way to relate an object to many of itself. > > eg. I have a product and I want to relate a variable number of other > products to it as related products. > > I've tried the 'self' method which works for ForeignKey, though > manytomanyfiel

Relating an object to itself, many-to-MANY

2005-09-04 Thread Milton
Is there a way to relate an object to many of itself. eg. I have a product and I want to relate a variable number of other products to it as related products. I've tried the 'self' method which works for ForeignKey, though manytomanyfield doesn't like having a string passed to it.