From: Matthijs Kooijman <matthijs@stdin.nl>
Date: Tue, 19 Oct 2010 14:23:53 +0000 (+0200)
Subject: settings: Enable localization.
X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=5364fe55cb4c257f97899ee04c672ac7589dca4e;p=matthijs%2Fprojects%2Fdorestad-bookings.git

settings: Enable localization.

This enables proper formatting of numbers and dates.
---

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/"