Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/a/manabi-HEAD/apps/stats/templatetags/reviewtime_tags.py   manabi(Download)
def review_seconds_today(user):
    '''
    Returns the number of seconds spent reviewing today.
    '''
    return CardHistory.objects.daily_duration(user)
def show_review_time_report(user):
    '''
    '''
    duration = CardHistory.objects.daily_duration(user)
    return {'duration': duration}