title: How to return empty response from root URL in Django
body: <p>I have a Django app using <code>djangorestframework</code>. I want to return an empty response or nothing if the root URL is called. Below is my code.</p>
  
  <pre><code>url(r'^$', HttpResponse(''), name="redirect_to_somepage")
  </code></pre>
  
  <blockquote>
    <p>Expected output: [] or {}</p>
  </blockquote>