DEV Community

kenkennie
kenkennie

Posted on

Django How to attach foreign key associated with the multiple models to submit one form

How can in create inline formset which share the same foreign key using function base views. I don't want to keep selecting product title(which is the FK to other forms) because am using two forms with linked to one Foreign key#

i want to implement this https://www.letscodemore.com/blog/django-inline-formset-factory-with-examples/ in function base

Top comments (0)