O'Reilly logo
  • Zimmerman Logan thinks this is interesting:

from django.shortcuts import render_to_response import MySQLdb

From

Cover of The Definitive Guide to Django: Web Development Done Right, Second Edition

Note

Sql query in view returning a list which goes in the context.