Django: create Index: non-unique, multiple column
As of Django 1.5, you can use the Meta.index_together option: class QuoteModel(models.Model): # … fields … class Meta: index_together = [ (“sequence”, “stock”), ] (note: the original answer from 2009 said it was not possible to index multiple fields; it has since been replaced)