title: Viewing/analyze all database accesses in Django
body: <p>Is there a way to print or log all database accesses as they occur in Django?</p>
  
  <p>This would be helpful for optimizing database accesses.  It would also be nice to see the actual query being executed.</p>
  
  <p>I will be testing this using a MySQL database.</p>