Coverage for /home/tribaal/workspace/django-shop/shop/templatetags/shop_tags : 77.50%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# -*- coding: utf-8 -*-
""" Inclusion tag for displaying cart summary. """
cart = get_or_create_cart(context['request']) cart.update() return { 'cart': cart }
""" Inclusion tag for displaying order. """ Argument('order', resolve=True), )
'order': order }
""" Inclusion tag for displaying all products. """ Argument('objects', resolve=True, required=False), )
FORMAT = getattr(settings, 'SHOP_PRICE_FORMAT', '%0.2f') if not price and price != 0: return '' return FORMAT % price |