                  id = IntegerField(label='ID', read_only=True)
                  slug = CharField(max_length=100)
                  published = HiddenField(default=CreateOnlyDefault(<function now>))
          """)
          assert repr(serializer) == expected
  
      def test_repr_date_field_included(self):
 
</s> remove             TestSerializer(validators=[<UniqueForDateValidator(queryset=HiddenFieldUniqueForDateModel.objects.all(), field='slug', date_field='published')>]):
 </s> add             TestSerializer(): </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():
                class Meta:
                    validators = [<UniqueForDateValidator(queryset=HiddenFieldUniqueForDateModel.objects.all(), field='slug', date_field='published')>]
                  id = IntegerField(label='ID', read_only=True)
                  slug = CharField(max_length=100)
                  published = HiddenField(default=CreateOnlyDefault(<function now>))
                class Meta:
                    validators = [<UniqueForDateValidator(queryset=HiddenFieldUniqueForDateModel.objects.all(), field='slug', date_field='published')>]
          """)
          assert repr(serializer) == expected
  
      def test_repr_date_field_included(self):
keep keep add keep keep keep keep
 Lazy loading of fields and validators. Closes #1963. 
tests/test_validators.py