jquery-django-superformset
jquery-django-superformset copied to clipboard
Create a simple sample project using django forms, modelForm
Create a simple sample project using django forms, modelForm
Sorry I haven't gotten around to this; I'll try to create a simple demo in the next week or so.
+1, this would definitely be helpful! I tried to create a little CodePen (http://codepen.io/lightstrike/pen/yoCgw) but it wasn't very elucidating unfortunately :/
A basic static demo is up at http://jgerigmeyer.github.io/jquery-django-superformset/demo/
The code for a working django demo is also in the repo: https://github.com/jgerigmeyer/jquery-django-superformset/tree/master/demo
I haven't gotten around to writing docs for it yet, but hopefully you'll find it helpful in the meantime!
When docs are written for this, I think it might be good to consider having the first template example in the README show rendering an actual Django formset using the Django template language. I understand the appeal of "just HTML" for a JS library, but in practice this library is very tied to the Django formset system, and nobody ever writes Django formset HTML "by hand", as shown in the current README example.