django unexpected keyword argument 'use_decimal' 问题
来源:互联网 发布:淘宝上卖的沙发怎么样 编辑:程序博客网 时间:2024/06/06 03:54
出错信息如下:
/usr/local/lib/python2.7/site-packages/django_chartit-0.1-py2.7.egg/chartit/templatetags/chartit.py:4: DeprecationWarning: django.utils.simplejson is deprecated; use json instead.
from django.utils import simplejson
__init__() got an unexpected keyword argument 'use_decimal'
需要更新simplejson库
sudo easy_install-2.7 simplejson
然后修改 chartit.py 第4行,直接改成import simplejson
- django unexpected keyword argument 'use_decimal' 问题
- django got an unexpected keyword argument maxlength
- django-got an unexpected keyword argument ‘maxlength’
- unexpected keyword argument 'maxlength'
- Django: TypeError topic() got an unexpected keyword argument 'topics_id'
- TypeError: histogram() got an unexpected keyword argument 'new'问题
- __init__() got an unexpected keyword argument 'mimetype'
- pivot_table() got an unexpected keyword argument 'rows'
- parse() got an unexpected keyword argument 'transport_encoding'
- render_to_response() got an unexpected keyword argument 'context_instance'
- 学习Programming the Semantic Web遇到的问题(一)——python: unexpected keyword argument
- Flask 应用程序外部可见问题: typeerror run() got an unexpected keyword argument 'host'.
- TypeError: __init__() got an unexpected keyword argument ‘maxlength’
- TypeError: __init__() got an unexpected keyword argument ‘maxlength’
- TypeError: __init__() got an unexpected keyword argument ‘maxlength’
- __init__() got an unexpected keyword argument 'context processor'解决方法
- render_to_string() got an unexpected keyword argument 'context_instance'的解决方法
- TypeError: concat() got an unexpected keyword argument 'axis'
- 构造函数后跟冒号
- ORACLE中的支持正则表达式的函数
- linux 定时器
- Chrome浏览器调用摄像头拍照
- DICT 和V$PARAMETER_VALID_VALUES
- django unexpected keyword argument 'use_decimal' 问题
- web 字符串处理
- 剑指Offer之二进制中1的个数
- 【Android】菜单功能的实现:使用XML
- swftools将PDF转成swf
- javascript函数原型
- wfp 驱动编译报错 解决方案.
- USACO Chapter1-Getting started Section 1.4
- BackToTop.js 为你的网站添加“回到顶部”按钮