From 168c7ac7b61fb77523dd1ac4367b262a0ea685ae Mon Sep 17 00:00:00 2001 From: nikolas Date: Tue, 27 Aug 2024 11:28:07 -0400 Subject: [PATCH] Remove database config from staging.py This configuration connects to pgbouncer, which we are no longer using. Our RDS Proxy config requires secrets which don't belong in ctlsettings, and this configuration is now in local_settings.py in salt, for the time being. --- ctlsettings/staging.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ctlsettings/staging.py b/ctlsettings/staging.py index 3060bef..3ada14f 100644 --- a/ctlsettings/staging.py +++ b/ctlsettings/staging.py @@ -18,18 +18,6 @@ def common(**kwargs): DEBUG = False STAGING_ENV = True - DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.postgresql', - 'NAME': project, - 'HOST': '', - 'PORT': 6432, - 'USER': '', - 'PASSWORD': '', - 'ATOMIC_REQUESTS': True, - } - } - STATSD_PREFIX = project + "-staging" MEDIA_ROOT = '/var/www/' + project + '/uploads/'