diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-21 18:10:06 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-21 18:10:06 +0800 |
commit | 83bd9f81631424694b95a50e923e3f6933f67141 (patch) | |
tree | f98284b1608683bd863c6fd7e11b136db499268c /django_skaschool | |
parent | 4c59c651baa7e9d29f90419c905745fd3ab025d8 (diff) | |
download | django-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.py | 5 |
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 |