@register.filter
@jinja2.contextfilter
@register.inclusion_tag('bandwagon/collection_grid.html')
def collection_grid(context, collections, src=None, pagesize=4, cols=2):
    pages = chunked(collections, pagesize)
    columns = 'cols-%d' % cols
    return new_context(**locals())
dataset/ETHPy150Open mozilla/addons-server/src/olympia/bandwagon/helpers.py/collection_grid/original