@register.tag
def lazy_paginate(parser, token):
    return paginate(parser, token, paginator_class=LazyPaginator)
Lazy paginate objects.
dataset/ETHPy150Open frankban/django-endless-pagination/endless_pagination/templatetags/endless.py/lazy_paginate