Open sangramrajekakade opened 5 years ago
The probable reason for the error is that you did not define fields
, exclude
or a form_class
which had fields/exclude set in it's meta when you defined StylePropsUpdateViews
. The below might have fixed that. I cannot help with the other problems as it looks like you are using a bespoke setup with multiple forms per object in the queryset.
class StylePropsUpdateViews(ModelFormSetView):
model = StyleProps
form_class = StylePropsForm
...
I am working on style properties and style option form both are different formset how I manage two formset in one view i am trying with this view but
see in this image I have option button after clicking on the options button option form will open
each style option form row has its own option form
can anyone help me in this