From 939cd864ebc9255ecd567ffb7df672bd8360b2f6 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 12 Nov 2013 22:26:11 -0500 Subject: [PATCH] Fix postgres configuration to use local socket. (imported from commit 1835e712b2fe4578cf6381891844bb3abe2b767e) --- zproject/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zproject/settings.py b/zproject/settings.py index cfb341131f..b54aef0d1c 100644 --- a/zproject/settings.py +++ b/zproject/settings.py @@ -72,7 +72,8 @@ DATABASES = {"default": { if ENTERPRISE: DATABASES["default"].update({ - 'HOST': 'localhost', + # Host = '' => connect through a local socket + 'HOST': '', 'OPTIONS': { 'autocommit': True, }