https://htmx.org logo
How do I include the value of the button being cli...
# 🔥-django-htmx
b
How do I include the value of the button being clicked in my form? I have 'Previous' and 'Next' buttons. Both submit a post request to the same view. I want to include the value of the clicked button ('previous' or 'next') with the POST request. How do I do this and access it in the django view?