jquery-django-superformset icon indicating copy to clipboard operation
jquery-django-superformset copied to clipboard

Create a simple sample project using django forms, modelForm

Open luzfcb opened this issue 12 years ago • 4 comments
trafficstars

Create a simple sample project using django forms, modelForm

luzfcb avatar Oct 25 '13 20:10 luzfcb

Sorry I haven't gotten around to this; I'll try to create a simple demo in the next week or so.

jgerigmeyer avatar Apr 10 '14 19:04 jgerigmeyer

+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 :/

lightstrike avatar Oct 08 '14 19:10 lightstrike

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!

jgerigmeyer avatar Oct 11 '14 01:10 jgerigmeyer

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.

carljm avatar Mar 30 '15 21:03 carljm