Пример #1
0
 def get(self, year):
     oa = salaries_stats_analysis.overall_analysis(int(year))
     pos = salaries_stats_analysis.position_analysis(int(year))
     self.write(rendering.render_distribution(oa, pos, TEMPLATE_DIR, 'salaries_distribution.html'))
Пример #2
0
 def get(self):
     oa = salaries_stats_analysis.overall_analysis()
     pos = salaries_stats_analysis.position_analysis()
     self.write(rendering.render_trend(oa, pos, TEMPLATE_DIR, 'salaries_trend.html'))