def make_debug_cursor(self, cursor):
        return util.CursorDebugWrapper(cursor, self)
Creates a cursor that logs all queries in self.queries.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/backends/__init__.py/BaseDatabaseWrapper.make_debug_cursor