Python Flask adding record to the MySQL database fails with error

后端 未结 0 1308
时光取名叫无心
时光取名叫无心 2021-01-15 17:48

I need to add a record to SQL database. Here is the code:

@app.route(\'/addTerm\', methods=[\'POST\'])
def addTerm():
    try:
        _name = request.form[\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题