from mongoengine import connect connect('project1') #project1为你要连接的数据库的名称. 第二种方式. #如果mongo服务是在其他地方运行,可以使用 ...
確定! 回上一頁