From bdf14b76e6a02af5d405d31edc8b1822a57d8846 Mon Sep 17 00:00:00 2001 From: Siddhartha Anand Date: Sat, 1 Dec 2018 18:52:38 +0530 Subject: [PATCH] Add mongo db name and uri --- coauthornetwork/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/coauthornetwork/settings.py b/coauthornetwork/settings.py index 02fe65a..dda150f 100644 --- a/coauthornetwork/settings.py +++ b/coauthornetwork/settings.py @@ -88,3 +88,7 @@ #HTTPCACHE_DIR = 'httpcache' #HTTPCACHE_IGNORE_HTTP_CODES = [] #HTTPCACHE_STORAGE = 'scrapy.extensions.httpcache.FilesystemCacheStorage' + +#MONGO CREDENTIALS +MONGO_URI='mongodb://{username}:{pwd}@cluster0-shard-00-00-kvfhu.mongodb.net:27017,cluster0-shard-00-01-kvfhu.mongodb.net:27017,cluster0-shard-00-02-kvfhu.mongodb.net:27017/test?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin&retryWrites=true' +MONGO_DATABASE='test' \ No newline at end of file