limodou schrieb:
> No, I think you cann't do this in django. You should use custom
> manipulator for this.
Hmm, I think you could use it like this:
...
form1 = forms.FormWrapper(manipulator1, data1, errors1)
form2 = forms.FormWrapper(manipulator2, data2, errors2)
return render_to_response(template,
context_instance=RequestContext(request, "form1": form1,
"form2": form2, ...))
I'm not sure if this works out, and how you'd separate
request.POST into the two data dicts, and whether this is
necessary at all. Perhaps it's a way.
Though, I don't know if this is better than the other approach
with the custom manipulator. It's an interesting question.
Michael
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---