I've been developing in Django for a short time, I have a nice image on my site, when I click on it I would like to only change a field in the database without reloading or resending the page and stay in the same place.
I have a question about how to call a Python function directly in html or via javascript what is the best way to do this?
I searched in several places and did not find an answer, the only way I found was passing via url, but then I would have to render the page again?
I'm using django 2.1 and python 3.7 Thanks in advance for the help.