summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/optimization.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/db/optimization.txt b/docs/topics/db/optimization.txt
index 1913d6ffcb..1f8f43b79f 100644
--- a/docs/topics/db/optimization.txt
+++ b/docs/topics/db/optimization.txt
@@ -38,7 +38,9 @@ Use standard DB optimization techniques
* Indexes. This is a number one priority, *after* you have determined from
profiling what indexes should be added. Use
- :attr:`django.db.models.Field.db_index` to add these from Django.
+ :attr:`django.db.models.Field.db_index` or
+ :attr:`Meta.index_together <django.db.models.Options.index_together>` to add
+ these from Django.
* Appropriate use of field types.