def number_renderer(value, field):
    if isinstance(field, models.DecimalField):
        return formats.number_format(value, field.decimal_places)
    return formats.number_format(value)
Returns flags that need to be passed to the linker.
dataset/ETHPy150Open pydanny/django-admin2/djadmin2/renderers.py/number_renderer--crossover with--dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/xcode_emulation.py/XcodeSettings.GetLdflags