aboutsummaryrefslogtreecommitdiffstats
path: root/django_skaschool
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-21 18:10:06 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-21 18:10:06 +0800
commit83bd9f81631424694b95a50e923e3f6933f67141 (patch)
treef98284b1608683bd863c6fd7e11b136db499268c /django_skaschool
parent4c59c651baa7e9d29f90419c905745fd3ab025d8 (diff)
downloaddjango-skaschool-83bd9f81631424694b95a50e923e3f6933f67141.tar.bz2
* added zh_CN locale for django_skaschool and added 'LOCALE_PATHS' in settings.py
Diffstat (limited to 'django_skaschool')
-rw-r--r--django_skaschool/settings.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/django_skaschool/settings.py b/django_skaschool/settings.py
index 2054819..6d2c867 100644
--- a/django_skaschool/settings.py
+++ b/django_skaschool/settings.py
@@ -91,6 +91,11 @@ USE_I18N = True
USE_L10N = True
+# LOCALE_PATHS: where django looks for translation files
+LOCALE_PATHS = (
+ os.path.join(BASE_DIR, 'locale'),
+)
+
USE_TZ = True
# contrib.sites