Management form in Model Formsets

2012-06-30 Thread Knight Samar
Hi, I am using Django 1.2 and developing using Model formsets. Using JavaScript, I am allowing the user to dynamically "Add another" formset on the template, but I can't figure out what exactly I have to modify in the management forms, for all the formsets to be successfully saved. The documen

Re: Management form in Model Formsets

2012-07-01 Thread Thomas Orozco
You might want to check this snippet out: djangosnippets.org/snippets/1389*/ * Le 1 juil. 2012 06:27, "Knight Samar" a écrit : > Hi, > > I am using Django 1.2 and developing using Model formsets. Using > JavaScript, I am allowing the user to dynamically "Add another" formset on > the template, bu

Re: Management form in Model Formsets

2012-07-01 Thread Knight Samar
Thanks Thomas! I checked the script and tried to follow it. It seems that for Django 1.2, *not* modifying the form-TOTAL_FORMS, form-INITIAL_FORMS and form-MAX_NUM_FORMS works properly!! Regards, Samar On Sunday, 1 July 2012 22:12:37 UTC+5:30, Thomas Orozco wrote: > > You might want to check