Re: Handling FormSet client side with javascript

2015-02-20 Thread aRkadeFR
Hello, Yes {{ formset.media }} works. But the problem is wider. How to include/manage the javascript around the formset? I want to add a media file (js) only on formset and not inside a form contained in a formset. Let me know if I'm not clear in my first message (it's a bit long to read, I kno

Re: Handling FormSet client side with javascript

2015-02-19 Thread Collin Anderson
Hi, Sorry for the late reply. Does simply using {{ formset.media }} work? Collin On Friday, February 13, 2015 at 11:02:31 AM UTC-5, aRkadeFR wrote: > > Hello everyone, > > I'm using FormSet in order to add multiple object at once on > a view. To have a more user friendly approach, I created a

Handling FormSet client side with javascript

2015-02-13 Thread aRkadeFR
Hello everyone, I'm using FormSet in order to add multiple object at once on a view. To have a more user friendly approach, I created a 'my.formset.js' file and I need to include a 'jquery.formset.js' lib to add/remove row of the formset (client side) and edit the formset management information.