Skip to content

Commit

Permalink
[1.5.x] Reference Meta.index_together in DB performance guide.
Browse files Browse the repository at this point in the history
9dc45ef from master.
  • Loading branch information
ramiro committed Sep 22, 2013
1 parent 8e51bea commit b5eddde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/topics/db/optimization.txt
Expand Up @@ -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.

Expand Down

0 comments on commit b5eddde

Please sign in to comment.