Friday, July 29, 2011

Humanizing decimals in templates

Hi.

The humanize module -
https://docs.djangoproject.com/en/1.3/ref/contrib/humanize/ does not
support humanizing decimal values similar to 'intcomma', only
integers. Is there an extension to do so, and if not how would one
write one?

How would one use this http://djangosnippets.org/snippets/842/ with a template?


Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment