Re: Split a form up in the template/view?

2008-10-22 Thread Ardesco
Thanks for the quick response! Worked like a charm. On Oct 22, 1:25 pm, Peter Bengtsson <[EMAIL PROTECTED]> wrote: > On Oct 22, 5:10 pm, Ardesco <[EMAIL PROTECTED]> wrote: > > > > > Taking an example from Chapter 7 of the Django Book: > > > from forms import PublisherForm > > > def add_publisher(

Re: Split a form up in the template/view?

2008-10-22 Thread Peter Bengtsson
On Oct 22, 5:10 pm, Ardesco <[EMAIL PROTECTED]> wrote: > Taking an example from Chapter 7 of the Django Book: > > from forms import PublisherForm > > def add_publisher(request): >     if request.method == 'POST': >         form = PublisherForm(request.POST) >         if form.is_valid(): >