title: Django: send data to server without rendering new template
body: <p>I am creating a website with Django, and I want the user to be able to press a button which will send some data to my server, for example to add an entry to a database with a HTTP post request. I could do this by creating an HTML form, and in the action attribute, point to a view which will do the data processing, and then render a template.</p>
  
  <p>However, what if I do not want to have to render a template? If I want the user to click the button to process some data on the server, but I don't want to render a new template through a view function, how can this be done? I want to maintain the current rendered HTML in the browser, but the only way I know to send data to the server involves rendering a new template in the view function.</p>
  
  <p>Any help? Thanks.</p>