Skip to content

Commit

Permalink
Remove database config from staging.py
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nikolas authored Aug 27, 2024
1 parent b342efd commit 168c7ac
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ctlsettings/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
Expand Down

0 comments on commit 168c7ac

Please sign in to comment.