diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2013-09-22 11:11:02 -0300 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2013-09-22 11:11:02 -0300 |
| commit | 9dc45efebae4ad46151a9d059d62e7713ccf469b (patch) | |
| tree | c77820d85b707551a27b95ad40b30a5284910711 /docs/topics | |
| parent | 51ed1ef1d56b383210830f69594b789ab3457b95 (diff) | |
Reference Meta.index_together in DB performance guide.
Diffstat (limited to 'docs/topics')
| -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 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. |
