nested-formset icon indicating copy to clipboard operation
nested-formset copied to clipboard

Is there a way to add a queryset to the nested_formet?

Open gusreyes01 opened this issue 9 years ago • 0 comments

I'm trying this way but nested_formset does not accept a queryset.

        nested_formset=inlineformset_factory(
                SoaMatrizAcuerdo,
                SoaMatrizAcuerdoDetalle,
                queryset =matriz_acuerdo_detalle,
                fields = ('secuencia_detalle','clave_nivel_academico','clave_area_academica')
            )
        )

gusreyes01 avatar Oct 25 '15 00:10 gusreyes01