on the page http://docs.djangoproject.com/en/dev/topics/db/queries/ writed: cheese_blog = Blog.objects.get(name="Cheddar Talk") >>> entry.blog = cheese_blog >>> entry.save()
But it's not work, when i try i get error '1048' column 'blog_id' cannot be null how can i right save manytomany fields? -- 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.