﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21296	settings: adding a the unix socket dir path in DATABASES HOST works for postgres too	rm_	rm_	"The host documentation [1] doesn't mention that passing a unix socket dir (unix_socket_directory in postgresql.conf) as value of HOST will have postgresql use that instead of default /var/run/postgresql/.s.PGSQL.5432 . Since there is an explicit example for MySQL i thought it wasn't supported (i've tried it though :). Tested with django 1.5.4 / postgresql_psycopg2 

There are also a couple of stack overflow questions related to this:

http://stackoverflow.com/questions/12317562/trying-to-set-django-and-postgresql-on-heroku
http://stackoverflow.com/questions/10829464/postgresql-and-django-unix-domain-socket

[1] https://docs.djangoproject.com/en/dev/ref/settings/#host"	Cleanup/optimization	closed	Documentation	dev	Normal	fixed	postgres settings host		Accepted	1	0	0	0	0	0
