django urlencode

 

from django.utils.http import urlquote
a = urlquote('分享')
print(a)

 

posted @ 2018-11-17 15:03  anobscureretreat  阅读(415)  评论(0编辑  收藏  举报