projects
/
matthijs
/
projects
/
dorestad-bookings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bda6d20
)
settings: Enable localization.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 19 Oct 2010 14:23:53 +0000
(16:23 +0200)
committer
Matthijs 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
patch
|
blob
|
history
diff --git
a/settings.py
b/settings.py
index da25241d6aeacc40a082c87377742053dad61c49..f07aa72728df59e24277bd30e379b00b9555be9b 100644
(file)
--- 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/"