@require_POST
@login_required
def unwatch_approved(request, product=None):
 if (request.LANGUAGE_CODE not in settings.SUMO_LANGUAGES):
  raise Http404
 kwargs = {'locale': request.LANGUAGE_CODE}
 if (product is not None):
  kwargs['product'] = product
 ApproveRevisionInLocaleEvent.stop_notifying(request.user, **kwargs)
 return HttpResponse()

@ require_POST @ login_required def unwatch_approved ( request , product = None ) : if ( request . LANGUAGE_CODE not in settings . SUMO_LANGUAGES ) : raise Http404 kwargs = { 'locale' : request . LANGUAGE_CODE } if ( product is not None ) : kwargs [ 'product' ] = product ApproveRevisionInLocaleEvent . stop_notifying ( request . user , ** kwargs ) return HttpResponse ( )
stop watching approved revisions for a given product .