class MyModel(models.Model):
    field1 = models.BlahField()
field2 = models.FooField()
field3 = models.BazField()


class Meta:
    pass
How to specify uniqueness for a tuple of field in a Django model