修复语言问题,之前没有找到 django 报错的原因,后来发现 django 新版本不支持之前 zh-cn 的写法了。
This commit is contained in:
1 parent
75ae8e1656
commit
541c3bb792
1 file changed
+1
-1
+1
-1
@@ -101,7 +101,7 @@ LANGUAGE_CODE = 'zh-hans'
|
||||
|
||||
TIME_ZONE = 'Asia/Shanghai'
|
||||
|
||||
USE_I18N = False
|
||||
USE_I18N = True
|
||||
|
||||
USE_L10N = True
|
||||
|
||||
|
||||
Reference in new issue
Block a user