Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

9dc45ef from master.
  • Loading branch information...
commit aef809f90cf9fda0bc2d7337a2e1c61d69b8e621 1 parent 14f76b1
Ramiro Morales ramiro authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/topics/db/optimization.txt
4 docs/topics/db/optimization.txt
View
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.