Model index reference
Model index reference
New in Django 1.11.
Index classes ease creating database indexes. They can be added using the Meta.indexes
option. This document explains the API references of Index
which includes the index options.
Referencing built-in indexes
Indexes are defined in django.db.models.indexes
, but for convenience they’re imported into 登录查看完整内容