          filter_kwargs[self.field_name] = value
          filter_kwargs['%s__day' % self.date_field_name] = date.day
          filter_kwargs['%s__month' % self.date_field_name] = date.month
          filter_kwargs['%s__year' % self.date_field_name] = date.year
          return filter_kwargs
  
  
  class UniqueForMonthValidator(BaseUniqueForValidator):
      message = _('This field must be unique for the "{date_field}" month.')
  
 
</s> remove         return filter_kwargs
 </s> add         return queryset.filter(**filter_kwargs) </s> remove         return filter_kwargs
 </s> add         return queryset.filter(**filter_kwargs) </s> remove     def get_filter_kwargs(self, attrs):
 </s> add     def filter_queryset(self, attrs, queryset): </s> remove     def get_filter_kwargs(self, attrs):
 </s> add     def filter_queryset(self, attrs, queryset): </s> remove     def get_filter_kwargs(self, attrs):
 </s> add     def filter_queryset(self, attrs, queryset):
        return queryset.filter(**filter_kwargs)
          filter_kwargs[self.field_name] = value
          filter_kwargs['%s__day' % self.date_field_name] = date.day
          filter_kwargs['%s__month' % self.date_field_name] = date.month
          filter_kwargs['%s__year' % self.date_field_name] = date.year
        return queryset.filter(**filter_kwargs)
  
  
  class UniqueForMonthValidator(BaseUniqueForValidator):
      message = _('This field must be unique for the "{date_field}" month.')
  
keep keep keep keep replace keep keep keep keep keep
 Uniqueness constraints imply a forced 'required=True'. Refs #1945 
rest_framework/validators.py