settings: Enable localization.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 19 Oct 2010 14:23:53 +0000 (16:23 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 19 Oct 2010 14:23:53 +0000 (16:23 +0200)
This enables proper formatting of numbers and dates.

settings.py

index da25241d6aeacc40a082c87377742053dad61c49..f07aa72728df59e24277bd30e379b00b9555be9b 100644 (file)
@@ -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/"