瀏覽代碼

cambiati titoli in pagina demo sql

master
Andrea Papotti 13 年之前
父節點
當前提交
90bb69bc8a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      controllers/demo/sql.py

+ 2
- 2
controllers/demo/sql.py 查看文件

@@ -24,7 +24,7 @@ def application( environ, start_response ):

start_response( '200 OK', [('content-type', 'text/html; charset=utf-8')] )

yield "<h1>elenco tabelle presenti nel db mywiki</h1>"
yield "<h1>elenco tabelle presenti nel db mywiki (connessione/db 1)</h1>"

for record in cur.fetchall():
yield str( record ) + "<br>"
@@ -44,7 +44,7 @@ def application( environ, start_response ):
# recupero record e generazione html
#

yield "<h1>elenco tabelle presenti nel db shoot</h1>"
yield "<h1>elenco tabelle presenti nel db shoot (connessione/db 2)</h1>"

for record in cur2.fetchall():
yield str( record ) + "<br>"

Loading…
取消
儲存