Django's USE_L10N does not work

Posted by jack on Stack Overflow See other posts from Stack Overflow or by jack
Published on 2010-05-01T08:05:12Z Indexed on 2010/05/01 8:07 UTC
Read the original article Hit count: 216

Filed under:
|
|
|
|

I already set USE_L10N = True in settings.py

But in following view:

from django.contrib.humanize.templatetags.humanize import intcomma

dev view_name(request):
     output = intcomma(123456)

Output is always "123,456" for all locales.

© Stack Overflow or respective owner

Related posts about django

Related posts about l10n