Mercurial > hg > ZDBInterface
view zpt/JSONHTML_schema_table.zpt @ 16:5b99c04c567c
fix for psycopg 2.4 Column type.
author | casties |
---|---|
date | Wed, 22 Feb 2012 18:53:05 +0100 |
parents | 09361041be51 |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" tal:define="layout python:request.get('layout','pre'); element_id python:request.get('element_id',None) schema options/schema; table options/table; data python:here.getTable(schema=schema,table=table);"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title tal:content="template/title">The title</title> </head> <body> <pre tal:attributes="id element_id" tal:content="python:here.getJsonString(data)"></pre> </body> </html>