  class UniqueTogetherValidator:
      """
      Validator that corresponds to `unique_together = (...)` on a model class.
      """
      message = _('The fields {field_names} must make a unique set.')
  
      def __init__(self, queryset, fields):
          self.queryset = queryset
          self.fields = fields
 
</s> remove     requires_context = True
 </s> add  </s> remove     # Validators with `requires_context` will have the field instance
    # passed to them when the field is instantiated.
    requires_context = True
 </s> add  </s> remove     def __call__(self, value):
        serializer = self.serializer_field

 </s> add     def set_context(self, serializer):
    Should be applied to the serializer class, not to an individual field.
  class UniqueTogetherValidator:
      """
      Validator that corresponds to `unique_together = (...)` on a model class.
    Should be applied to the serializer class, not to an individual field.
      """
      message = _('The fields {field_names} must make a unique set.')
  
      def __init__(self, queryset, fields):
          self.queryset = queryset
          self.fields = fields
keep keep add keep keep keep keep keep keep
 First pass at unique_for_date, unique_for_month, unique_for_year 
rest_framework/validators.py