示例#1
0
文件: geojson_v3.py 项目: wwwK/maplet
 def index(self):
     self.render('geoinfo/geojson/index.html',
                 kwd={},
                 userinfo=self.userinfo,
                 unescape=tornado.escape.xhtml_unescape,
                 json_arr=MJson.query_recent(self.userinfo.uid, 20)
                 if self.userinfo else [])
示例#2
0
文件: geojson_v3.py 项目: wwwK/maplet
    def list(self):

        kwd = {}
        self.render('geoinfo/geojson/gson_recent.html',
                    kwd=kwd,
                    userinfo=self.userinfo,
                    unescape=tornado.escape.xhtml_unescape,
                    json_arr=MJson.query_recent(num=20))