How to pass an instance to a Django formset, The script is as follows. I updated several lines using a set of forms, and at a later stage I need to edit the values ββthat I added earlier. (Editing)
q=PaymentLines.objects.filter(pay_lines=project) formset = PayFormSet(prefix='payment',instance=q)
source share