[Fixed]-Filter foreign key queryset model in InlineFormSet

1👍

Use self.form.fields as shown here.

Update in response to comment

form = OrderItemForm()
form.product.queryset = Product.objects.filter(..filter here..)
formset = FormSet(formset=BaseFormSet, form=form)

Leave a comment