def get(self):
     """ financial dispatcher """
     albums_geo_info = NewAlbumGeoInfo.query()
     
     #check if query is empty
     if albums_geo_info.count() <= 0:
         albums_geo_info = None
     
     template_values = {}
     template_values.update({'title':u'柯在陽光下', 'albums_geo_info': albums_geo_info})
     self.render_template(dict_html_ref.financial, template_values)
 def get(self):
     """ albums dispatcher collect the albums geo info and send to front-end """
     template_values = {}
     albums_geo_info = NewAlbumGeoInfo.query()
     
     #check if query is empty
     if albums_geo_info.count() <= 0:
         albums_geo_info = None
     
     template_values.update({'title':u'柯文哲照片集', 'albums_geo_info': albums_geo_info})
     self.render_template(dict_html_ref.albums, template_values)