hdgs / guisheng_be

Backend of Guisheng Mobile Website
http://120.24.4.254:8888/
7 stars 2 forks source link

这里为什么要decode('ascii') #3

Closed misakar closed 7 years ago

misakar commented 7 years ago

这里: https://github.com/Muxi-Studio/guisheng_be/blob/master/guisheng/app/models.py#L117

拉丁字母的unicode实现本来就是ascii, 这里decode('ascii')没有任何意义 screen shot 2016-12-05 at 00 12 57

RoseOu commented 7 years ago

..get..已改 @neo1218