Re: IntComma without RequestContext

2015-10-28 Thread Michael Newman
Thank you. Knew I was missing something easy. On Tuesday, October 27, 2015 at 8:54:08 PM UTC-4, foobar wrote: > > Your language string is backwards: > > >>> activate("en-us") > >>> intcomma(1000) > '1,000' > > >>> activate("en") > >>> intcomma(1000) > '1,000' > > > use_l10n=False in a tem

Re: IntComma without RequestContext

2015-10-27 Thread Siim Märtmaa
Your language string is backwards: >>> activate("en-us") >>> intcomma(1000) '1,000' >>> activate("en") >>> intcomma(1000) '1,000' use_l10n=False in a template is: {% load l10n %} {% localize off %} {{ value }} {% endlocalize %} https://docs.djangoproject.com/en/1.8/topics/i18n/formatting

IntComma without RequestContext

2015-10-27 Thread Michael Newman
I am feeling a little lost, a project that I have used intcomma in reliably on an update suddenly stopped getting the commas inserted. This is for an out of request cycle email. Attempting activate the language doesn't seem to change anything. Am I missing something simple here? >>> from djang