DEV Community

Discussion on: Django inline formsets with Class-based views and crispy forms

Collapse
 
jarlmorgennebel profile image
JarlMorgennebel

Hey Xenia,

thank you for sharing your solution, this looks awesome and is extremely helpful.

I have a use-case of 7 categories which each may have 1-7 detail lines. My goal is a Bootstrap4-Accordion group (getbootstrap.com/docs/4.0/componen...) to switch between the 7 categories and use your solution for the each of detail-lines groups as a single page - start with 2 extra lines and allow up to 7 maximum.

Can you please push me into the right direction how I could adopt your solution and modify it to support 7 formfactory_inline fields (one per category)?

My first attempts failed big and I am only a few months into Django.

Thanks, -MN