We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7214a1e commit d541ec3Copy full SHA for d541ec3
DjangoPlugin/tracdjangoplugin/settings.py
@@ -12,8 +12,8 @@
12
DATABASES = {
13
"default": {
14
"ENGINE": "django.db.backends.postgresql",
15
- "NAME": "djangoproject",
16
- "USER": "djangoproject",
+ "NAME": os.getenv("DJANGO_DB_NAME", "djangoproject"),
+ "USER": SECRETS.get("db_user", "djangoproject"),
17
"HOST": SECRETS.get("db_host", ""),
18
"PORT": SECRETS.get("db_port", 5432),
19
"PASSWORD": SECRETS.get("db_password", ""),
0 commit comments