<gh_stars>10-100
from django import template



register = template.Library()



@register.filter
def money(value, scale):
    return '${:,d}'.format(value / scale)

from django import template



register = template.Library()



@register.filter
def money(value, scale):
    return '${:,d}'.format(value / scale)