>> material = Material.objects.get(name=request.GET['material']) >> > I think this will help you : > p = table(material =material, ...[other fields of table to be saved]) > p.save()
Thanks, this works for me. > Here table is your table where you want object value to be saved. > Hope this helps you. -- Satinderpal Singh http://satindergoraya.blogspot.in/ http://satindergoraya91.blogspot.in/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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.