[Kimchi-devel] [PATCH 2/2] Update the i18n tmpl to produce JSON

Adam King rak at linux.vnet.ibm.com
Thu May 15 00:35:09 UTC 2014


On 05/14/2014 08:25 PM, Adam King wrote:
> +        if page.endswith('.json'):
> +            return template.render(page, None)
I am sure there is a better way to accomplish this, but I haven't got it 
yet. Someone with a little more CherryPy expertise?

-- 
Adam King <rak at linux.vnet.ibm.com>
IBM CSI




More information about the Kimchi-devel mailing list