diff --git a/tailbone/forms/renderers/common.py b/tailbone/forms/renderers/common.py index 1769080e..5d2aa330 100644 --- a/tailbone/forms/renderers/common.py +++ b/tailbone/forms/renderers/common.py @@ -159,7 +159,9 @@ class CurrencyFieldRenderer(formalchemy.FieldRenderer): value = self.raw_value if value is None: return '' - return '$ {0:0,.2f}'.format(value) + # TODO: Add py2.6-compatible way to include thousands separator + # (comma). Apparently the ',' trick is py2.7+ only. + return '$ {0:0.2f}'.format(value) class YesNoFieldRenderer(CheckBoxFieldRenderer):