mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #27236 -- Removed Meta.index_together per deprecation timeline.
This commit is contained in:
@@ -59,8 +59,8 @@ creating database indexes. Indexes are added to models using the
|
||||
|
||||
The :class:`~django.db.models.Index` class creates a b-tree index, as if you
|
||||
used :attr:`~django.db.models.Field.db_index` on the model field or
|
||||
:attr:`~django.db.models.Options.index_together` on the model ``Meta`` class.
|
||||
It can be subclassed to support different index types, such as
|
||||
``index_together`` on the model ``Meta`` class. It can be subclassed to support
|
||||
different index types, such as
|
||||
:class:`~django.contrib.postgres.indexes.GinIndex`. It also allows defining the
|
||||
order (ASC/DESC) for the columns of the index.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user