Re: Django Models + ManyToMany

2009-01-08 Thread Karen Tracey
On Thu, Jan 8, 2009 at 7:08 PM, rabbi wrote: > > Thanks Karen, > I actually deleted the thread soon after posting it as I came across > what you have written above. > Somehow you still managed to reply to a deleted thread though...? > Impressive > I don't use the Google

Re: Django Models + ManyToMany

2009-01-08 Thread rabbi
Thanks Karen, I actually deleted the thread soon after posting it as I came across what you have written above. Somehow you still managed to reply to a deleted thread though...? Impressive On Jan 9, 1:04 am, "Karen Tracey" wrote: > On Thu, Jan 8, 2009 at 12:06 PM, rabbi

Re: Django Models + ManyToMany

2009-01-08 Thread Karen Tracey
On Thu, Jan 8, 2009 at 12:06 PM, rabbi wrote: > > Hi, > I have a question that is probably very simple to answer. > > class Example(models.Model): >value = models.CharField(max_length=200) >related_examples = models.ManyToMany >

Django Models + ManyToMany

2009-01-08 Thread rabbi
Hi, I have a question that is probably very simple to answer. class Example(models.Model): value = models.CharField(max_length=200) related_examples = models.ManyToMany ('self',related_name='related_example_set') If I define a ManyToMany relationship like the one above and I want to