Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
743 views

Pset 7, why does session["user_id"] not take a variable?

I am able to solve the "register" part of the question by doing this: session["user_id"] = db.execute("SELECT * FROM users WHERE username = :username", username=request.form.get("username"))[0]["id"]...
nvs0000's user avatar
  • 179