Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/d/j/django-lfs-0.7.7/lfs/manage/views/payment.py   django-lfs(Download)
    payment_method = lfs_get_object_or_404(PaymentMethod, pk=payment_method_id)
 
    criteria_utils.save_criteria(request, payment_method)
 
    html = [["#criteria", payment_method_criteria(request, payment_method_id)]]
    payment_price = get_object_or_404(PaymentMethodPrice, pk=payment_price_id)
 
    criteria_utils.save_criteria(request, payment_price)
 
    html = [

src/d/j/django-lfs-0.7.7/lfs/manage/shipping_methods/views.py   django-lfs(Download)
    shipping_method = lfs_get_object_or_404(ShippingMethod, pk=shipping_method_id)
 
    criteria_utils.save_criteria(request, shipping_method)
 
    html = [["#criteria", shipping_method_criteria(request, shipping_method_id)]]
    shipping_price = get_object_or_404(ShippingMethodPrice, pk=shipping_price_id)
 
    criteria_utils.save_criteria(request, shipping_price)
 
    html = [

src/l/f/lfs-HEAD/manage/views/shipping.py   lfs(Download)
    shipping_method = lfs_get_object_or_404(ShippingMethod, pk=shipping_method_id)
 
    criteria_utils.save_criteria(request, shipping_method)
 
    criteria = shipping_method_criteria(request, shipping_method_id)
    shipping_price = get_object_or_404(ShippingMethodPrice, pk=shipping_price_id)
 
    criteria_utils.save_criteria(request, shipping_price)
 
    prices = shipping_method_prices(request, shipping_price.shipping_method.id)

src/l/f/lfs-HEAD/manage/views/payment.py   lfs(Download)
    payment_method = lfs_get_object_or_404(PaymentMethod, pk=payment_method_id)
 
    criteria_utils.save_criteria(request, payment_method)
 
    criteria = payment_method_criteria(request, payment_method_id)
    payment_price = get_object_or_404(PaymentMethodPrice, pk=payment_price_id)
 
    criteria_utils.save_criteria(request, payment_price)
 
    prices = payment_method_prices(request, payment_price.payment_method.id)

src/d/j/django-lfs-0.7.7/lfs/manage/discounts/views.py   django-lfs(Download)
    """
    discount = lfs_get_object_or_404(Discount, pk=id)
    criteria_utils.save_criteria(request, discount)
 
    html = [["#criteria", discount_criteria(request, id)]]