I have django form which consist of two image buttons. Now how can i perform two different POST action based on specific image button clicked in views.py?
I followed the below link
How can I build multiple submit buttons django form?
The above link will use name property of input tag and performs the action.
But this link will only describes about submit buttons but not about image buttons
Any solutions?
Thanks in advance