Django Multi Column Index
from django.db import models
class Customer(models.Model):
first_name = models.CharField(max_length=100)
last_name = models.CharField(max_length=100)
class Meta:
index_together = [
["first_name", "last_name"]
]
crêpper