1👍
It can done with a simple jQuery Post request. There are lots of example given in the following sample django project. It has the proper HTML/jQuery to send the AJAX call and urls.py
to receive and myapp/views.py
to process and return the response.
Source:stackexchange.com