﻿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
3450	Make IntegrityError available from django.db	enlight	Adrian Holovaty	"This is related to ticket #3083, however the issue I'd like to address is just a subset of that ticket, so I figured it's best to create a separate ticket. The attached patch will allow developers to import IntegrityError from django.db thus avoiding a dependency on any specific db module. I mentioned the rationale for this patch in [http://groups.google.de/group/django-users/browse_thread/thread/0357be5fcc49e4bc/ this thread] on django-users.

I have tested the changes on the postgresql and postgresql_psycopg2 backends, and I've looked at api/source for the oracle, mysql, ado_mssql and sqlite3 db modules recommended for use with the other backends. From what I could gather they all provide an IntegrityError as specified by the  [http://www.python.org/dev/peps/pep-0249/ Python DB-API 2.0]... still would be best if someone actually tested all those backends :)"		closed	Database layer (models, ORM)	dev		fixed			Ready for checkin	1	0	0	0	0	0
