python html form library that supports forms within form (form as a field )?
-
02-10-2019 - |
Question
The question says it all,
For example,
In a contact book if someone has multiple addresses with each address having multiple fields I want to display an "add another address" button. This button would add another address form. (I want one round trip to the server, I do not want javascript or webforms2.)
It would be nice if some built in library would support this. Examples are appreciated.
Thanks.
Solution
Try django-formsets, and if you want dynamic behavior use this http://code.google.com/p/django-dynamic-formset/
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow