create different URLs (and thus different views) for the different buttons and then redirect to wherever you want to go.
On Aug 2, 10:13 pm, james_027 <[EMAIL PROTECTED]> wrote: > Hi, > > How do I handle this situation wherein I want different submit button > to call different method on the views. I feel that calling the same > method on views for all the submit button on a form is not good, as > you'll make the distinction of what to do inside the method... > > Thanks > james --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---