i have two file fields in django form and i want set prefill data for fields. when form open again dont need fill again file field.
this is my form field
self.fields['total_trial_balance'].widget.attrs.update({'class': 'filestyle', 'id': 'total_trial_balance'})
self.fields['Certain_trial_balance'].widget.attrs.update({'class': 'filestyle', 'id': 'Certain_trial_balance'})
this is i try to do
form = TaxReturnLegalUpdateForm(instance=tax_return, request=request)
but i just got currently file name in my templateenter image description here