﻿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
15901	Django should wrap all PEP 249 exceptions in db.utils	Xia Kai(夏恺)	Aymeric Augustin	"There are only two Exceptions defined in db.utils, namely !DatabaseError and !IntegrityError. This does not conform with [http://www.python.org/dev/peps/pep-0249/ PEP 249, Python Database API Specification v2.0]. IMHO, more exceptions should be added here. Moreover, db backends for python binding of various databases conforming with PEP 249 should be changed to reflect this change.

Sorry that I cannot provide a full patch for this ticket, for I'm not familiar with all db backends.

This change would give more flexibility in db exception handling."	New feature	closed	Database layer (models, ORM)	1.3	Normal	fixed		xiaket@… jonas-django@… James Henstridge gcbirzan	Accepted	1	0	0	0	0	0
