I have the following code:
forms.py:
MAX_DETALLES = 5
Detalle_VentaFormSet = inlineformset_factory(
Venta,
Detalle_Venta,
fields=('cantidad','producto'),
#SI AGREGO EN FIELDS SUBTOTAL, NO ME DEJA MOSTRAR EL FORM DIRECTA...
asked by
20.05.2016 / 01:31