title: How can I return HTTP status code 204 from a Django view?
body: <p>I want to return status code <code>204 No Content</code> from a Django view. It is in response to an automatic POST which updates a database and I just need to indicate the update was successful (without redirecting the client).</p>
  
  <p>There are subclasses of <code>HttpResponse</code> to handle most other codes but not 204.</p>
  
  <p>What is the simplest way to do this?</p>