diff options
| author | Claude Paroz <claude@2xlibre.net> | 2016-08-20 12:14:02 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2016-09-12 09:26:33 +0200 |
| commit | d389125606152a6cd57d0f6cadeddf0bd6232215 (patch) | |
| tree | 20f8b19adbcccf3b274136743efe3c596a86ffe7 /docs | |
| parent | 1ec1633cb294d8ce2a65ece6b56c258483596fba (diff) | |
Fixed #27098 -- Deprecated DatabaseIntrospection.get_indexes
Thanks Akshesh <aksheshdoshi@gmail.com> for help with the PostgreSQL query.
Thanks Tim Graham for the review.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 2 | ||||
| -rw-r--r-- | docs/releases/1.11.txt | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 151cdff68d..8be137e635 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -36,6 +36,8 @@ details on these changes. * Silencing of exceptions raised while rendering the ``{% include %}`` template tag will be removed. +* ``DatabaseIntrospection.get_indexes()`` will be removed. + .. _deprecation-removed-in-2.0: 2.0 diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index b2ba159c8a..7b5bcc450f 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -399,6 +399,10 @@ Database backend API dictionaries with a list of ``'ASC'`` and/or ``'DESC'`` values corresponding to the the ordering of each column in the index. +* :djadmin:`inspectdb` no longer calls ``DatabaseIntrospection.get_indexes()`` + which is deprecated. Custom database backends should ensure all types of + indexes are returned by ``DatabaseIntrospection.get_constraints()``. + Dropped support for PostgreSQL 9.2 and PostGIS 2.0 -------------------------------------------------- @@ -549,3 +553,6 @@ Miscellaneous :ttag:`{% include %} <include>` template tag is deprecated as the behavior is often more confusing than helpful. In Django 2.1, the exception will be raised. + +* ``DatabaseIntrospection.get_indexes()`` is deprecated in favor of + ``DatabaseIntrospection.get_constraints()``. |
