File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 112112
113113DATABASES = {"default" : dj_database_url .parse (DATABASE_URL ), }
114114
115- READ_DATABASE_URLS = os .getenv ("SENSORSAFRICA_READ_DATABASE_URLS" , DATABASE_URL ).split ("," )
115+ # READ_DATABASE_URLS = os.getenv("SENSORSAFRICA_READ_DATABASE_URLS", DATABASE_URL).split(",")
116116
117- for index , read_database_url in enumerate (READ_DATABASE_URLS ,start = 1 ):
118- DATABASES [f"read_replica_{ index } " ] = dj_database_url .parse (read_database_url )
117+ # for index, read_database_url in enumerate(READ_DATABASE_URLS,start=1):
118+ # DATABASES[f"read_replica_{index}"] = dj_database_url.parse(read_database_url)
119119
120- DATABASE_ROUTERS = ["sensorsafrica.router.ReplicaRouter" , ]
120+ # DATABASE_ROUTERS = ["sensorsafrica.router.ReplicaRouter", ]
121121
122122# Password validation
123123# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
You can’t perform that action at this time.
0 commit comments