Преглед на файлове

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>"

Зареждане…
Отказ
Запис