title: how to return json response from views.py instead of .html file in django
body: <p>I am working on django project that is returning a template in its views.py with context as:
  return render_to_response('page.html', context)
  here context is a dictionary that is having keys and values from multiple model classes</p>
  <p>I need to just return the json response instead of html page. please help me out.</p>