Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @app.route('/')
- def home():
- con = sqlite3.connect("C:/JournalL/main.db")
- con.row_factory = sqlite3.Row
- cur = con.cursor()
- cur.execute("SELECT * FROM PersonFull WHERE isInOchered = 0")
- rows = cur.fetchall()
- return render_template("/home.html", rows=rows)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement