Skip to content
Browse files

DB settings for Trac.

  • Loading branch information...
1 parent e7c6d70 commit b146fea71ffcd8a1db974ab696df3052e6cafbb7 @coderanger coderanger committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 django_www/settings.py
View
4 django_www/settings.py
@@ -12,7 +12,9 @@
DATABASES['trac'] = {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'code.djangoproject',
- 'USER': 'code.djangoproject'
+ 'USER': 'code.djangoproject',
+ 'HOST': SECRETS.get('trac_db_host', 'localhost'),
+ 'PASSWORD': SECRETS.get('trac_db_password', ''),
}
DATABASE_ROUTERS = ['tracdb.db_router.TracRouter']

0 comments on commit b146fea

Please sign in to comment.
Something went wrong with that request. Please try again.