Django Formset - Empty Kwargs
I am trying to initialize a Django formset with an addition parameter to pass on the forms in the formset. However when i initialize the formset with formset factory and pass the v
Solution 1:
No, you don't. The parameters you pass are not named parameters, and are therefore stored in the *args
pointer. To get them into the **kwargs
dict you'd have to do this
formset = CIFormSet(data=data,grn_id=grn_id)
Post a Comment for "Django Formset - Empty Kwargs"