project.py 文件源码

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

项目:statik 作者: thanethomson 项目源码 文件源码
def process_views(self):
        """Processes the loaded views to generate the required output data."""
        output = {}
        logger.debug("Processing %d view(s)..." % len(self.views))
        for view_name, view in iteritems(self.views):
            # first update the view's context with the project context
            view.context.update(self.project_context)
            output = deep_merge_dict(output, view.process(self.db, safe_mode=self.safe_mode))
        return output
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号