Hello, I'm novice in Django and I' would like to create an edition formset to edit questions, for example. I' already have a formset to add question:
My add formset : def manage_polls(request): PollFormSet = formset_factory(PollForm, extra=2) if request.method == 'POST': formset = PollFormSet(request.POST) if formset.is_valid(): for form in fromset: form.save() else: formset = PollFormSet() return render_to_response('manage_polls.html', {'formset': formset}) To edit all questions (I've already created) with a formset, I'need to give an instance, but how can I' do it ? Thank you Magali --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---