sqlite データベース (django を使用) で漢字を使用しようとしましたが、管理ページに表示できません。
setting.py から:
LANGUAGE_CODE = 'en'
gettext = lambda s: s
LANGUAGES = (
('zh-cn', gettext('Simplified Chinese')),
('en', gettext('English')),
)
models.py より: * の漢字
# -*- coding: cp936 -*-
class jiu(models.Model):
unit_list = (
('***', '***'),
('***', '***'),
)
unit = models.CharField(max_length=8, choices=unit_list)
sqlite3 データベース開発サーバーです。