return _("SQL")
def nav_subtitle(self):
self._queries = connection.queries[self._offset:]
self._sql_time = sum([q["duration"] for q in self._queries])
num_queries = len(self._queries)
// TODO l10n: use ngettext
return "%d %s in %.2fms" % (
After Change
}
self._queries.extend([(alias, q) for q in db_queries])
self._queries.sort(key=lambda x: x[1]["start_time"])
self._sql_time = sum([d["time_spent"] for d in self._databases.itervalues()])
num_queries = len(self._queries)
// TODO l10n: use ngettext
return "%d %s in %.2fms" % (