Ejemplo n.º 1
0
def stock_status_text(key, *args, **kwargs):
    return mark_safe(StockStatus.text(key))
Ejemplo n.º 2
0
def stock_status_text(key, *args, **kwargs):
    """Render the text value of a StockItem status value"""
    return mark_safe(StockStatus.text(key))