On 05/15/2014 08:35 AM, Adam King wrote:
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?
I will try it.
seem I have tried it before and it can works when meina proposed to use
json instead of html.
--
Thanks and best regards!
Sheldon Feng(冯少合)<shaohef(a)linux.vnet.ibm.com>
IBM Linux Technology Center