Fix postgres configuration to use local socket.

(imported from commit 1835e712b2fe4578cf6381891844bb3abe2b767e)
This commit is contained in:
Tim Abbott 2013-11-12 22:26:11 -05:00
parent 0ec8a7a2f1
commit 939cd864eb
1 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,8 @@ DATABASES = {"default": {
if ENTERPRISE:
DATABASES["default"].update({
'HOST': 'localhost',
# Host = '' => connect through a local socket
'HOST': '',
'OPTIONS': {
'autocommit': True,
}