title: Django Model Fields Indexing
body: <p>I only know that indexing is helpful and it queries faster.</p>
  <p>What is the difference between following two?</p>
  <p><strong>1.</strong></p>
  <pre><code>class Meta:
         indexes = [
             models.Index(fields=['last_name', 'first_name',]),
             models.Index(fields=['-date_of_birth',]),
  ]
  </code></pre>
  <p><strong>2.</strong></p>
  <pre><code>class Meta:
         indexes = [
              models.Index(fields=['first_name',]),
              models.Index(fields=['last_name',]),
              models.Index(fields=['-date_of_birth',]),
  ]
  </code></pre>