class People(forms.Form):
        HoldComments=models.ManyToManyField('Comment')
class Comment(forms.Form):
        CommentWord=models.CharField(max_length=10000)
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 save this tuple p of the comment to the People.HoldComment?
I can do it in the admin.But how can I do this job by the Django sentense?


thanks for helping me

--
吾血之血啊

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to