Hello All, i'm trying generate a single form with two models.
class Contact(models.Model): phone = models.CharField(max_length=8) email = models.CharField(max_length=50) class Client(models.Model): name = models.CharField(max_length=50) type = models.CharField(max_length=10) contact = models.OneToOneField("Contact") How can i generate a single form to insert a new client? What can i use? ModelForm, Formsets? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---