diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2013-09-22 11:11:02 -0300 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2013-09-22 14:07:36 -0300 |
| commit | b5eddde09523bd55cde1cf8e22d46d3f594503d7 (patch) | |
| tree | fa53e7720e598702838203979269fa36403e2c35 | |
| parent | 8e51bea4fb2302a636547ed3f938b16628621478 (diff) | |
[1.5.x] Reference Meta.index_together in DB performance guide.
9dc45efeba from master.
| -rw-r--r-- | docs/topics/db/optimization.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/db/optimization.txt b/docs/topics/db/optimization.txt index c1459ae247..9e3c360008 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. |
