dashboard.py 文件源码

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

项目:xadmin_python3 作者: mahongquan 项目源码 文件源码
def widget(self):
        context = {'widget_id': self.id, 'widget_title': self.title, 'widget_icon': self.widget_icon,
            'widget_type': self.widget_type, 'form': self, 'widget': self}
        self.context(context)
        return loader.render_to_string(self.template, context, context_instance=RequestContext(self.request))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号