LIMIT 1""", session['domains'][domain]['id'])
OR
query = """UPDATE customers SET password = %s WHERE login = %s"""
params = (password_hash, login)
try:
db_cursor.execute(query, (params))
which one is the right way?
Please format the code you posted, by wrapping it in triple backticks. -> `
this is good
seems legit
Обсуждают сегодня