﻿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
6710	DATABASE_OPTIONS ignored for postgresql_psycopg2	Robert Coup	nobody	"Psycopg2 only looks in the kwargs passed to `psycopg2.connect()` if there is no `dsn` string. In django this means everything set in `settings.DATABASE_OPTIONS` is happily ignored (eg. `sslmode`) because `_cursor()` builds a `dsn` string.

The attached patch makes all the db params into a dictionary passed via kwargs instead."		closed	Database layer (models, ORM)	dev		fixed	postgres	benjamin.slavin@…	Accepted	1	0	0	0	0	0
