I’m creating a crispy form from a DB model.
I’d like to put ALL fields from the model in my div helper… Is there a way to do it so that I don’t need to write down every single one of them… like:
self.helper.layout = Layout(
Div('field1', 'field2', 'field3', ...),
...
)
I tried
Div('*')
and things like that but it didn’t work.
Any suggestions?
Thanks!
Ron
I found something in the doc…
I think its the solution… 🙂