You simply have to avoid using the same field name in the two forms.

On 12/18/08, Alfredo Alessandrini <alfreal...@gmail.com> wrote:
>
> Hi,
>
> can I use two form in the same view function?
>
>  if request.method == 'POST':
>         form = FORM_1(request.POST)
>         if form.is_valid():
>                    .....................
>         form = FORM_2(request.POST)
>         if form.is_valid():
>                    .....................
>
> It's possible?
>
> Thanks in advance,
>
> Alfredo
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to