django_baseline/templatetags/helpers.py
def mul(value, arg):
    """Multiply the arg with the value."""
    try:
        return valid_numeric(value) * valid_numeric(arg)
    except (ValueError, TypeError):
        try:
            return value * arg
        except Exception:
            return ''
def mul(value, arg):
    try:
        return valid_numeric(value) * valid_numeric(arg)
    except (ValueError, TypeError):
        try:
            return value * arg
        except Exception:
            return ''
def mul ( value , arg ) : try : return valid_numeric ( value ) * valid_numeric ( arg ) except ( ValueError , TypeError ) : try : return value * arg except Exception : return ''
Multiply the arg with the value.
Multiply the arg with the value .