Re: How to insert a tuple into ManyToMany Relations

2010-05-19 Thread Daniel Roseman
On May 19, 5:03 am, Daemoneye wrote: > > class People(forms.Form): > HoldComments=models.ManyToManyField('Comment') > class Comment(forms.Form): > CommentWord=models.CharField(max_length=1) > > I've had these two tables, I'd want the people

How to insert a tuple into ManyToMany Relations

2010-05-18 Thread Daemoneye
class People(forms.Form): HoldComments=models.ManyToManyField('Comment') class Comment(forms.Form): CommentWord=models.CharField(max_length=1) I've had these two tables, I'd want the people make a comment so I new p=comment(CommentWord=Comment)in the view but how can I