@permission_required("core.manage_shop")
def shipping_method_prices(request, shipping_method_id,
    template_name="manage/shipping_methods/shipping_method_prices.html"):
    shipping_method = get_object_or_404(ShippingMethod, pk=shipping_method_id)

    return render_to_string(template_name, RequestContext(request, {
        "shipping_method": shipping_method,
        "prices": shipping_method.prices.all(),
    }))
Returns the shipping method prices for the shipping method with given id.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/manage/shipping_methods/views.py/shipping_method_prices