[1.6.x] Reference Meta.index_together in DB performance guide.

9dc45efeba from master.
This commit is contained in:
Ramiro Morales 2013-09-22 11:11:02 -03:00
parent 14f76b15c4
commit aef809f90c
1 changed files with 3 additions and 1 deletions

View File

@ -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.