应用地址为:http://www.biteam.info
和livid版同步的同时,费了好大的劲,把xuming的google登录也弄过来了。
可是,用google帐户登录之后,设置用户名为汉字的,可以保存。但到后面进行设置的时候,无法保存,出错了:
Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 513, in __call__
handler.post(*groups)
File "/base/data/home/apps/bi-team/1.346120333639088886/member.py", line 405, in post
memcache.delete('Member::' + str(member.username))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
难道不能拿汉字做用户名吗?

和livid版同步的同时,费了好大的劲,把xuming的google登录也弄过来了。
可是,用google帐户登录之后,设置用户名为汉字的,可以保存。但到后面进行设置的时候,无法保存,出错了:
Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 513, in __call__
handler.post(*groups)
File "/base/data/home/apps/bi-team/1.346120333639088886/member.py", line 405, in post
memcache.delete('Member::' + str(member.username))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
难道不能拿汉字做用户名吗?