Or use prefix
theform(request.POST,prefix='form1Prefix')
theform2(request.POST,prefix='form2Prefix')
2008/12/18 Stefan Tunsch
>
> You simply have to avoid using the same field name in the two forms.
>
> On 12/18/08, Alfredo Alessandrini wrote:
> >
> > Hi,
> >
> > can I use two form in the same
You simply have to avoid using the same field name in the two forms.
On 12/18/08, Alfredo Alessandrini 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():
>.
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
3 matches
Mail list logo