[python-chinese] Django 控制台 (Admin) 不能用中文?
Arnold Chen
arnold在design97.com
星期二 七月 3 15:54:16 HKT 2007
我在自己的 Windows 上是可以在 model.py 上加上中文解釋, 如下:
name = models.CharField("名稱", maxlength=200)
但當我 upload 到 Linux server 上就不能執行 manage.py syncdb , 而且有以下
錯誤信息
Couldn't install apps, because there were errors in one or more models:
mysite.product: 'ascii' codec can't decode byte 0xe9 in position 0:
ordinal not in range(128)
我 Windows 是用 python 2.4, 但 server 上是用 2.3.3 , 會是這個原因嗎 ?
謝謝, Arnold
关于邮件列表 python-chinese 的更多信息