def reset_number_filter(request, category_slug, property_group_id, property_id):
    key = '{0}_{1}'.format(property_group_id, property_id)
    try:
        product_filter = request.session.get("product-filter")
        del product_filter["number-filter"][key]
    except KeyError:
        pass
    else:
        if product_filter["number-filter"] == {}:
            del product_filter["number-filter"]

    request.session["product-filter"] = product_filter

    url = reverse("lfs_category", kwargs={"slug": category_slug})
    return HttpResponseRedirect(url)
Push values onto the value stack.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/views.py/reset_number_filter--crossover with--dataset/ETHPy150Open nedbat/byterun/byterun/pyvm2.py/VirtualMachine.push