django中引入json

try:
  from django.utils import simplejson as json
except:
  import simplejson as json

 

posted @ 2017-04-04 22:51  xqnq2007  阅读(774)  评论(0编辑  收藏  举报