[Answer]-One django form with two input, two urls, two views, both having different js for following page

1👍

You can always use JavaScript to handle your input (button?) clicks:

<input type="button" onclick="this.form.action='target_url_1'; this.form.submit(); return false;" value="Send to 1st url">
<input type="button" onclick="this.form.action='target_url_2'; this.form.submit(); return false;" value="Send to 2nd url">
👤Liubov

Leave a comment