Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

DB settings for Trac.

  • Loading branch information...
commit b146fea71ffcd8a1db974ab696df3052e6cafbb7 1 parent e7c6d70
@coderanger coderanger authored
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.