修复语言问题,之前没有找到 django 报错的原因,后来发现 django 新版本不支持之前 zh-cn 的写法了。

This commit is contained in:
virusdefender
2015-12-09 21:23:19 +08:00
parent 75ae8e1656
commit 541c3bb792

View File

@@ -101,7 +101,7 @@ LANGUAGE_CODE = 'zh-hans'
TIME_ZONE = 'Asia/Shanghai'
USE_I18N = False
USE_I18N = True
USE_L10N = True