Re: Multiple form actions within one form
On Feb 20, 2006, at 9:38 AM, Martin Ostrovsky wrote: > > > > > > I would want one python function to correspond to each of > submit_action1 and submit_action2. def my_view(request): if request.POST.has_key('submit_action1'): do_action_one(request) elif
Multiple form actions within one form
How does django map multiple form actions within one form to python function calls ? For example, in the HTML below: I would want one python function to correspond to each of submit_action1 and submit_action2. Thanks. --~--~-~--~~~---~--~~ You