Commit b5eddde0 authored by Ramiro Morales's avatar Ramiro Morales
Browse files

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

9dc45efe from master.
parent 8e51bea4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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.