YAYAQIU commited on
Commit
7cb351e
·
1 Parent(s): 44afe43

Update app1.py

Browse files
Files changed (1) hide show
  1. app1.py +1 -1
app1.py CHANGED
@@ -3,7 +3,7 @@ import pymongo
3
 
4
  ############################## MongoDB Config ##############################
5
  # Create a new client and connect to the server
6
- uri = "mongodb+srv://<password>@cluster0.9yunmwy.mongodb.net/?retryWrites=true&w=majority" # Put your connection string into it
7
  client = pymongo.MongoClient(uri)
8
  db = client[
9
  'todo'] # Connect to a Database (MongoDB will create the database if it does not exist, and make a connection to it.)
 
3
 
4
  ############################## MongoDB Config ##############################
5
  # Create a new client and connect to the server
6
+ uri = "mongodb+srv://yaqiu8025:ZNjfJYRIZVVvshkz@cluster0.yczxpur.mongodb.net/?retryWrites=true&w=majority"" # Put your connection string into it
7
  client = pymongo.MongoClient(uri)
8
  db = client[
9
  'todo'] # Connect to a Database (MongoDB will create the database if it does not exist, and make a connection to it.)