def update_topseller_cache(topseller):
    cache.delete("%s-topseller" % settings.CACHE_MIDDLEWARE_KEY_PREFIX)
    product = topseller.product
    for category in product.get_categories(with_parents=True):
        cache.delete("%s-topseller-%s" % (settings.CACHE_MIDDLEWARE_KEY_PREFIX, category.id))
Test that member list returns 404 if not published.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/caching/listeners.py/update_topseller_cache--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/groups/tests/test_views.py/GroupMemberListViewTest.test_member_list_is_not_published