

def paginate(statuses, page=1, startdate=None, enddate=None, per_page=20):
    from standup.apps.status.models import Status
    if startdate:
        statuses = startdate.filter((Status.created >= startdate))
    if enddate:
        statuses = statuses.filter((Status.created <= enddate))
    return _paginate(statuses, int(page), per_page=per_page)

dataset/ETHPy150Open mozilla/standup/standup/apps/status/helpers.py paginate/VarMisuse@44/53 `statuses`->`startdate`