Flask, Python and mongodb KeyError: 'Age' but the field Age exists in collection

后端 未结 0 1764
感动是毒
感动是毒 2020-11-28 18:53

My collection: db_operations = mongo.db.users

I\'m creating an user with this method:

@app.route(\'/create\')
def create():
    new_user = {\'Name\' :          


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