  # Tests for `UniqueTogetherValidator`
  # -----------------------------------
  
  class UniquenessTogetherModel(models.Model):
      race_name = models.CharField(max_length=100, null=True)
      position = models.IntegerField(null=True)
  
      class Meta:
          unique_together = ('race_name', 'position')
  
  
 
</s> remove                 race_name = CharField(allow_null=True, max_length=100, required=True)
                position = IntegerField(allow_null=True, required=True)
 </s> add                 race_name = CharField(max_length=100, required=True)
                position = IntegerField(required=True) </s> remove                 race_name = CharField(allow_null=True, max_length=100, required=False)
 </s> add                 race_name = CharField(max_length=100)
    race_name = models.CharField(max_length=100)
    position = models.IntegerField()
  # Tests for `UniqueTogetherValidator`
  # -----------------------------------
  
  class UniquenessTogetherModel(models.Model):
    race_name = models.CharField(max_length=100)
    position = models.IntegerField()
    race_name = models.CharField(max_length=100)
    position = models.IntegerField()
  
      class Meta:
          unique_together = ('race_name', 'position')
  
  
keep keep keep keep replace replace keep keep keep keep keep
 Return UniquenessTogetherModel to previous state 
tests/test_validators.py