entity ident could be even simpler with flask + pymongo instead of django

This commit is contained in:
Marco Zeisler
2021-04-10 17:19:47 +02:00
parent 8f49d56ba9
commit c76668ffb7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ app = Flask(__name__)
app.config["MONGO_URI"] = "mongodb://localhost:27017/myDatabase"
mongo = PyMongo(app)
mongo.db.test.save({'_id': 0, 'foo': 'bar'})
mongo.db.test.save({'_id': 0, 'foo': {'test': 'this'}})
mongo.db.test.save({'_id': 1, 'suu': 'sar'})