Doc'd purpose of "Database backend API" backwards incompatible changes section.

This commit is contained in:
Tim Graham 2018-11-17 15:55:41 -05:00
parent 2fd21a1858
commit f436c82637
2 changed files with 6 additions and 0 deletions

View File

@ -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`.

View File

@ -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``.