summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2013-09-22 11:11:02 -0300
committerRamiro Morales <cramm0@gmail.com>2013-09-22 13:54:02 -0300
commitaef809f90cf9fda0bc2d7337a2e1c61d69b8e621 (patch)
tree6c827e77ddc8f0f8b53b3c7bc6198d429e5b1538
parent14f76b15c4b2ab34e7afcf092e5146d401aad240 (diff)
[1.6.x] Reference Meta.index_together in DB performance guide.
9dc45efeba from master.
-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 cca2e6381b..a4d90bed5e 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.