hi folks I have a formset, which I want to display using a customised template for the forms.
This works: {{formset.mangement_form}} {% for form in formset.forms %} {{form}} {% endfor %} The following displays ok, let's me edit one form, but then I can't update it or add another, failling with a muMultiValueDictKeyError at .... "Key 'form-0-id' not found in <QueryDict: .... (this with django 1.1, 1.0 blew up with a keyerror). {{formset.management_forms}} {% for form in formset.forms %} {{form.title.errors}}{{form.title}} etc looping over the fields in a nice way ... {% endfor %} Looking at the posted form in an editor, I see the following (with django 1.0) in the form that works: <input type="hidden" name="form-0-id" value="1" id="id_form-0-id" /> and <input type="hidden" name="form-0-id" id="id_form-0-id" /> in the one that doesn't. Any idea what I'm doing wrong? need to do? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---