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