Skip to content
This repository has been archived by the owner on Feb 12, 2020. It is now read-only.

'ascii' codec can't encode characters in position 0-3: ordinal not in range(128) #11

Open
ygm521 opened this issue Oct 22, 2017 · 0 comments

Comments

@ygm521
Copy link

ygm521 commented Oct 22, 2017

您好:
添加分类 和 标签集时候不允许中文,谢谢!

Request Method: POST
http://192.168.100.102:8000/admin/app/tag/add/?_to_field=id&_popup=1
1.11.6
UnicodeEncodeError
'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
/root/.virtualenvs/env_django/local/lib/python2.7/site-packages/django/utils/encoding.py in force_text, line 80
/root/.virtualenvs/env_django/bin/python
2.7.12
['/home/ygm/django_work/bootstrap3', '/home/ygm/django_work/blog', '/home/ygm/django_work/blog', '/root/.virtualenvs/env_django/lib/python2.7', '/root/.virtualenvs/env_django/lib/python2.7/plat-x86_64-linux-gnu', '/root/.virtualenvs/env_django/lib/python2.7/lib-tk', '/root/.virtualenvs/env_django/lib/python2.7/lib-old', '/root/.virtualenvs/env_django/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/root/.virtualenvs/env_django/local/lib/python2.7/site-packages', '/home/ygm/django_work/django-highcharts', '/root/.virtualenvs/env_django/lib/python2.7/site-packages', '/home/ygm/django_work/blog']
Sun, 22 Oct 2017 21:41:20 +0800
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant