

@register.tag
def lazy_paginate(parser, token):
    'Lazy paginate objects.\n\n    Paginate objects without hitting the database with a *select count* query.\n\n    Use this the same way as *paginate* tag when you are not interested\n    in the total number of pages.\n    '
    return paginate(parser, token, paginator_class=LazyPaginator)

dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/templatetags/endless.py lazy_paginate/original