Re: formset in form_class

2017-02-03 Thread Melvyn Sopacua
On Tuesday 31 January 2017 08:55:15 schaf...@gmail.com wrote: > class RLFormView(LoginRequiredMixin, StaffuserRequiredMixin, > UpdateView): template_name = 'abc/layout.html' > form_class = LayoutFormSet > fields = '__all__' > The easy fix (and proper way to support the declarative pa

Re: formset in form_class

2017-02-01 Thread schaf . mh
Hi All, problem solved. The problem was the default value None for the form_class parameter at get_form. It works when changing: def get_form(self, form_class=None): to: def get_form(self, form_class=LayoutFormSet): Cheers Schaf Am Dienstag, 31. Januar 2017 17:55:15 UTC+1 schrieb scha...@gmail.