示例#1
0
文件: app.py 项目: yataOrg/skylines
    def add_cache(self):
        """ Create and attach Cache extension """
        from skylines.api.cache import cache

        cache.init_app(self)
示例#2
0
 def add_cache(self):
     """ Create and attach Cache extension """
     from skylines.api.cache import cache
     cache.init_app(self)