django-extensions/django-extensions — pull request #200 by ltvolks (2012-04-21 01:03:11+00:00)
Title: Fix failure in python 2.6 when using "shell_plus --print-sql"

Change introduced in [15c81cd] to display sql execution time relies on a method of datetime.timedelta introduced in python 2.7 (total_seconds). Using time.time() is simpler and backwards compatible.