@register.assignment_tag
def shipping_charge_excl_discount(method, basket):
    return method.calculate_excl_discount(basket)
Template tag for calculating the shipping charge (excluding discounts) for
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/templatetags/shipping_tags.py/shipping_charge_excl_discount