--
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/-/igkjCkj6T4AJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
This is exactly what formsets are used for. Each row in your '<form>'
corresponds to a django form, and the entire '<form>' is modelled by a
django formset.
Cheers
Tom
Use modelformset_factory instead. The FormSet class produced as a
result will accept a queryset argument, which will be used to work out
which objects are to be edited.
See:
https://docs.djangoproject.com/en/1.4/topics/forms/modelforms/#model-formsets
Cheers
Tom
--
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/-/-zXhy_qXJcgJ.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.