Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Humanize template tags being ignored #109

Open
mattwaite opened this issue Sep 11, 2017 · 2 comments
Open

Humanize template tags being ignored #109

mattwaite opened this issue Sep 11, 2017 · 2 comments
Labels

Comments

@mattwaite
Copy link

Am using humanize's intcomma template tag to do what it says on the tin. Works in Django's development server, but the comma disappears in the build. Hunting for a solution myself, but flagging it here in case others have seen something similar or have ideas.

@palewire
Copy link
Owner

palewire commented Sep 11, 2017

Ah yes. I've seen this myself but we've never solved it. I believe it is an issue caused by the internationalization system not functioning properly inside bakery.

This does not solve the deeper problem, but I believe you can temporarily work around it by passing in False to the use_i10n keyword argument on the filter.

@palewire
Copy link
Owner

You could also try setting USE_L10N = False in your settings.py.

@palewire palewire added the bug label Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants