﻿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
30173	Use subprocess.run and PGPASSWORD for client in postgres backend	Daniel Bowring	nobody	"[https://docs.python.org/3/library/subprocess.html#subprocess.run subprocess.run] was added in python 3.5 (which is the minimum version since Django 2.1). This function allows you to pass a custom environment for the subprocess.

Using this in django.db.backends.postgres.client to set PGPASSWORD simplifies the code and makes it more reliable."	Cleanup/optimization	closed	Database layer (models, ORM)	2.1	Normal	fixed			Accepted	1	0	0	1	0	0
