Moved timedelta string parsing from external project to internal function.
added support for django 1.5 style custom User models.