carltongibson / neapolitan

Quick CRUD views for Django
https://noumenal.es/neapolitan/
MIT License
413 stars 30 forks source link

Multi-Form #4

Closed carltongibson closed 1 year ago

carltongibson commented 3 years ago

Often we're processing multiple forms in the view. We want to treat them as one:

if formset.is_valid(): 
     instance = form.save()
     ...

A non-homogenous custom formset can do this, but it's hardly documented (to begin).