Re: ModelForm for model that includes multiple items of one kind

2019-03-30 Thread Dean Karres
Thanks to the responders. I was unaware of formsets / midelformsets. I am reading about them now. Cheers -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django

Re: ModelForm for model that includes multiple items of one kind

2019-03-30 Thread Kiran Capoor
Hi, To connect multiple forms you should use: FormSets https://docs.djangoproject.com/en/2.1/topics/forms/formsets/ Or https://docs.djangoproject.com/en/2.1/topics/forms/modelforms/#using-an-inline-formset-in-a-view Read about it in the above links. Regards, Kiran Capoor On Sunday, March 3

Re: ModelForm for model that includes multiple items of one kind

2019-03-30 Thread Chetan Ganji
I think, you will need to implement something like below. Profile: first_name middle_name last_name birthday address (primary/default) email (primary/default) phone (primary/default) Address address_line1 address_line2 City state zip Email emai