title: Django: how to view raw sql response upon a query
body: <p>In Django if I want to see the raw sql in debug mode I can check using in django shell:</p>
  
  <pre><code>from django.db import connections
  User.objects.all()
  print(connections['default'].queries[-1]['sql'])
  </code></pre>
  
  <p>Similarly can we see the raw response of that sql. In the above case the sql query may return the raw results in csv, tab delimited format. From then django may create the model objects array. </p>