You might want to check this snippet out: djangosnippets.org/snippets/1389*/ * Le 1 juil. 2012 06:27, "Knight Samar" <knightsa...@gmail.com> 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, 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 documentation points out to three properties in the management form - > form-TOTAL_FORMS, form-INITIAL_FORMS and form-MAX_NUM_FORMS. But I don't > understand, which properties I have to exactly modify and how, when a new > formset is being added dynamically using JavaScript ? > > Thanks :) > > Regards, > Samar > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/Ecs6EVDku_YJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.