Browse Source

take postgres user from env

pull/7/head
Pēteris Caune 10 years ago
parent
commit
c2238dec43
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      hc/settings.py

+ 1
- 2
hc/settings.py View File

@ -92,8 +92,7 @@ DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'hc',
'USER': 'postgres',
'PASSWORD': '',
'USER': env.get("pg_user", "postgres"),
'TEST': {'CHARSET': 'UTF8'}
}
}


Loading…
Cancel
Save