From b9a60e589b22b1411c58bd0b5dff7ec45c947767 Mon Sep 17 00:00:00 2001 From: "Minh T. Nguyen" Date: Thu, 10 Mar 2022 10:31:30 -0500 Subject: [PATCH] Simplifying flask mongo DB template --- flask-mongo-template/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask-mongo-template/app.py b/flask-mongo-template/app.py index 9c6b5a5..a042af7 100644 --- a/flask-mongo-template/app.py +++ b/flask-mongo-template/app.py @@ -28,7 +28,7 @@ app.config['MONGO_DBNAME'] = 'database' # URI of database -app.config['MONGO_URI'] = "mongodb+srv://feedbackLoop:TestUserPassword1!@cluster0.0nsou.mongodb.net/database?retryWrites=true&w=majority" +app.config['MONGO_URI'] = "" #Initialize PyMongo mongo = PyMongo(app)