diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index 5c4b795c02..ffd1c43572 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -236,6 +236,9 @@ Backwards incompatible changes in 2.1 Database backend API -------------------- +This section describes changes that may be needed in third-party database +backends. + * To adhere to :pep:`249`, exceptions where a database doesn't support a feature are changed from :exc:`NotImplementedError` to :exc:`django.db.NotSupportedError`. diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index d00e2fe6f9..aa04b34f0e 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -280,6 +280,9 @@ Backwards incompatible changes in 2.2 Database backend API -------------------- +This section describes changes that may be needed in third-party database +backends. + * Third-party database backends must implement support for table check constraints or set ``DatabaseFeatures.supports_table_check_constraints`` to ``False``.