While I haven't worked with formsets, this line doesn't look correct:

formset = ClientFormSet(request.POST, request.FILES,
queryset=Client.objects.get(pk=client_id))

mainly due to a parameter named queryset being passed a model object,
instead of a queryset of model objects. It would seem that you want
queryset=Client.objects.filter(pk=client_id) to achieve the same
result.

Then again, I could be wildly off.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to