On Wed, Oct 6, 2010 at 9:20 PM, alecx <alexander.robert.h...@googlemail.com>wrote:
> Hello, > I try to build a kind of call tracker app. The call intaker creates a > new item (main model) and makes some notes (subject, issue and which > printer nr, customer, technician,... all with modelfields) all in one > view. But I am struggling with the model relations and the form > saving. I cannot save anything to the db, thats because one related > object isnt already saved to the db. > I think the problem is the m2m relation between Servicetechnician and > Customer. Can someone please point me to the right direction? > > in http://docs.djangoproject.com/en/dev/topics/forms/modelforms/ look for save_m2m() -- Marc -- 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.