Pārlūkot izejas kodu

cambiati titoli in pagina demo sql

master
Andrea Papotti pirms 13 gadiem
vecāks
revīzija
90bb69bc8a
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      controllers/demo/sql.py

+ 2
- 2
controllers/demo/sql.py Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt