                  id = IntegerField(label='ID', read_only=True)
                  slug = CharField(max_length=100)
                  published = DateField(required=True)
          """)
          assert repr(serializer) == expected
  
      def test_is_not_unique_for_date(self):
          """
          Failing unique for date validation should result in field error.
 
</s> remove             UniqueForDateSerializer(validators=[<UniqueForDateValidator(queryset=UniqueForDateModel.objects.all(), field='slug', date_field='published')>]):
 </s> add             UniqueForDateSerializer(): </s> remove             TestSerializer(validators=[<UniqueForDateValidator(queryset=HiddenFieldUniqueForDateModel.objects.all(), field='slug', date_field='published')>]):
 </s> add             TestSerializer(): </s> remove             TestSerializer(validators=[<UniqueForDateValidator(queryset=HiddenFieldUniqueForDateModel.objects.all(), field='slug', date_field='published')>]):
 </s> add             TestSerializer():
                class Meta:
                    validators = [<UniqueForDateValidator(queryset=UniqueForDateModel.objects.all(), field='slug', date_field='published')>]
                  id = IntegerField(label='ID', read_only=True)
                  slug = CharField(max_length=100)
                  published = DateField(required=True)
                class Meta:
                    validators = [<UniqueForDateValidator(queryset=UniqueForDateModel.objects.all(), field='slug', date_field='published')>]
          """)
          assert repr(serializer) == expected
  
      def test_is_not_unique_for_date(self):
          """
          Failing unique for date validation should result in field error.
keep keep add keep keep keep keep keep keep
 Lazy loading of fields and validators. Closes #1963. 
tests/test_validators.py