@register.filter
def best_selling_products_list(count):
    """Get a list of best selling products"""
    try:
        ct = int(count)
    except __HOLE__:
        ct = config_value('PRODUCT','NUM_PAGINATED')

    return bestsellers(ct)
dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/templatetags/satchmo_product.py/best_selling_products_list