def reset_all_filter(request, category_slug):
    if "product-filter" in request.session:
        del request.session["product-filter"]

    if "price-filter" in request.session:
        del request.session["price-filter"]

    if "manufacturer-filter" in request.session:
        del request.session["manufacturer-filter"]

    url = reverse("lfs_category", kwargs={"slug": category_slug})
    return HttpResponseRedirect(url)
Resets all product filter. Redirects to the category with given slug.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/views.py/reset_all_filter