mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #26167 -- Changed default value of DatabaseFeatures.supports_expression_indexes to True.
This commit is contained in:
parent
b5cef91a91
commit
ffe756d624
5 changed files with 7 additions and 4 deletions
|
@ -668,6 +668,12 @@ backends.
|
|||
backends must implement ``DatabaseClient.settings_to_cmd_args_env()`` or
|
||||
override ``DatabaseClient.runshell()``.
|
||||
|
||||
* Third-party database backends must implement support for functional indexes
|
||||
(:attr:`.Index.expressions`) or set
|
||||
``DatabaseFeatures.supports_expression_indexes`` to ``False``. If ``COLLATE``
|
||||
is not a part of the ``CREATE INDEX`` statement, set
|
||||
``DatabaseFeatures.collate_as_index_expression`` to ``True``.
|
||||
|
||||
:mod:`django.contrib.admin`
|
||||
---------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue