__init__.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:django-jchart 作者: matthisk 项目源码 文件源码
def __init__(self, height=None, width=None,
                 html_id=None, json_encoder_class=DjangoJSONEncoder):
        self.height = height
        self.width = width
        self.json_encoder_class = json_encoder_class
        self.html_id = html_id

        if ((height is not None or width is not None) and
                (self.responsive is None or self.responsive)):
            raise ImproperlyConfigured(
                'Using the height/width parameter will have no '
                'effect if the chart is in responsive mode. '
                'Disable responsive mode by setting chart.responsive '
                'to False')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号