Inlineformset parameter for a queryset

15 views
Skip to first unread message

Gerson David Vizquel Alemán

unread,
Feb 10, 2019, 12:04:35 PM2/10/19
to Django users
Hello I resort to this medium because I have already invested a lot of time looking for the solution and I can not find it.

I have two questions, one of the two will help me to solve an approach that I have:
 1.- How can I pass parameters to the inlineformset?
 2.- How can I read the value of a field of the parent form from the inlineformset?

The issue is that I need to filter the queryset of a select field in the inlineformset, with a value that happened in the url or that it places hidden in the parent form.

First of all, Thanks
Reply all
Reply to author
Forward
0 new messages