From 139db064a948440491e74e03abfd20171882dbbf Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 13 Nov 2015 21:18:37 +0530 Subject: [PATCH] Enable localized numbers and dates --- plinth/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plinth/__main__.py b/plinth/__main__.py index 432b6e6c7..1fe4ef30d 100644 --- a/plinth/__main__.py +++ b/plinth/__main__.py @@ -245,6 +245,7 @@ def configure_django(): STATIC_URL='/'.join([cfg.server_dir, 'static/']).replace('//', '/'), STRONGHOLD_PUBLIC_NAMED_URLS=('users:login', 'users:logout'), TEMPLATE_CONTEXT_PROCESSORS=context_processors, + USE_L10N=True, USE_X_FORWARDED_HOST=cfg.use_x_forwarded_host) django.setup()