Yes it is possible - think of the actions that need to take place.
* The user clicks the button in the browser.
* The browser sends an Ajax request to Django
* The Django view processes the Ajax request, updates the database and sends a response to the browser
These are web fundamentals and I think you need to do some reading on the basic server/client architecture.