#15918: settings.THOUSAND_SEPARATOR is used only when the current locale does not provide a value -------------------------------------+------------------------------------- Reporter: lev | Owner: nobody Type: | Status: reopened Cleanup/optimization | Component: Documentation Milestone: | Severity: Normal Version: 1.3 | Keywords: THOUSAND_SEPARATOR Resolution: | Has patch: 0 Triage Stage: Accepted | Needs tests: 0 Needs documentation: 1 | Easy pickings: 0 Patch needs improvement: 0 | -------------------------------------+-------------------------------------
Comment (by andy): Lev, thank you for opening this ticket! Untill your patch got applied, one could monkey patch Django to achieve desired behaviour: {{{ try: from django.utils.formats import _format_cache cache_key = ('THOUSAND_SEPARATOR', 'ru') # change 'ru' to your locale _format_cache[cache_key] = "'" except: pass # use default settings }}} -- Ticket URL: <http://code.djangoproject.com/ticket/15918#comment:7> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.