From 9d93dff33338c90a55f7158fbbe0d82e88e13fa3 Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Fri, 6 Oct 2017 12:47:08 -0400 Subject: Fixed #28665 -- Change some database exceptions to NotImplementedError per PEP 249. --- docs/releases/2.1.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index 6a451bdd50..516f6163eb 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -198,7 +198,9 @@ Backwards incompatible changes in 2.1 Database backend API -------------------- -* ... +* To adhere to :pep:`249`, exceptions where a database doesn't support a + feature are changed from :exc:`NotImplementedError` to + :exc:`django.db.NotSupportedError`. :mod:`django.contrib.gis` ------------------------- -- cgit v1.3