How can I make array with values of row in database Sqlite in python?
def dropname():
db = get_db()
dropname = db.execute("SELECT name FROM names WHERE ID_dol = 1")
dropname = cur.fetchall()
return render_template('form_names.html', dropname=dropname)