From 83bd9f81631424694b95a50e923e3f6933f67141 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Mon, 21 Apr 2014 18:10:06 +0800 Subject: * added zh_CN locale for django_skaschool and added 'LOCALE_PATHS' in settings.py --- django_skaschool/settings.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'django_skaschool') 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 -- cgit v1.2.2