Django is a great framework for building web applications. Recently they started to create the newforms library that makes it easy to handle forms.
But the newforms library works only for static forms. Forms that have a fixed number of fields. What I wanted to do, is create a page that allows you to edit multiple instances of a model at once. It should be similar to edit_inline, but there should be a JavaScript link that allows you to add another instance of the object.
That’s why I have written classes that make it possible to handle this type of forms using Django. No AJAX is utilized to make this work.
(more…)