def html(self): self.render({ 'version_data': DeviceVersions.generateGraphData(), 'unknown_version_data': UnknownVersions.generateGraphData(), 'version_table_data': DeviceVersions.generateGraphData() + UnknownVersions.generateGraphData(), })
def json(self): json = simplejson.dumps(DeviceVersions.generateGraphData()) self.response.out.write(json)