From 5364fe55cb4c257f97899ee04c672ac7589dca4e Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 19 Oct 2010 16:23:53 +0200 Subject: [PATCH] settings: Enable localization. This enables proper formatting of numbers and dates. --- settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/settings.py b/settings.py index da25241..f07aa72 100644 --- a/settings.py +++ b/settings.py @@ -34,6 +34,8 @@ SITE_ID = 1 # If you set this to False, Django will make some optimizations so as not # to load the internationalization machinery. USE_I18N = True +# Also use localization (formatting of numbers and dates) +USE_L10N = True # Absolute path to the directory that holds media. # Example: "/home/media/media.lawrence.com/" -- 2.30.2