1from django.db import models
2
3class Customer(models.Model):
4 first_name = models.CharField(max_length=100)
5 last_name = models.CharField(max_length=100)
6
7 class Meta:
8 index_together = [
9 ["first_name", "last_name"]
10 ]
11