subhranath/django-session-idle-timeout — pull request #1 by skyl (2012-11-18 20:31:23+00:00)
Title: Update middleware with total_seconds.

(dt1 - dt2).seconds is not actually the timedelta in seconds, if the difference is say exactly 1 day, that quantity would be 0.