The other option is to have the hidden "action" field and fill it with
different values on buttons click events.
The other option is to change the form action dynamically with JS so
you can have separate POST handler views for different actions
(like <input type="submit" value="Send"
onclick="document.getElementById('form_id').action='/send_files/';
return true;" />

On Jul 12, 3:22 pm, alecs <alecs....@gmail.com> wrote:
> Thanks, Dennis :)
--~--~---------~--~----~------------~-------~--~----~
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