@register.filter
@stringfilter
def sign_choice(value, args = 'positive,negative,zero'):
  positive, negative, zero = args.split(',')
  value = float(value)
  if value == 0:
    return zero
  
  elif value > 0:
    return positive
  
  else:
    return negative
dataset/ETHPy150Open fxdemolisher/frano/frano/templatetags/frano_filters.py/sign_choice/original