@handle_response_format
@treeio_login_required
def widget_my_watchlist(request, response_format='html'):
 profile = request.user.profile
 query = ((_get_filter_query(profile, do_recipients=False) & Q(about__in=profile.subscriptions.all())) & (~ Q(author=profile)))
 updates = UpdateRecord.objects.filter(query).distinct()
 context = _get_default_context(request)
 context.update({'updates': updates, 'profile': profile})
 return render_to_response('news/widgets/my_watchlist', context, context_instance=RequestContext(request), response_format=response_format)

@ handle_response_format @ treeio_login_required def widget_my_watchlist ( request , response_format = 'html' ) : profile = request . user . profile query = ( ( _get_filter_query ( profile , do_recipients = False ) & Q ( about__in = profile . subscriptions . all ( ) ) ) & ( ~ Q ( author = profile ) ) ) updates = UpdateRecord . objects . filter ( query ) . distinct ( ) context = _get_default_context ( request ) context . update ( { 'updates' : updates , 'profile' : profile } ) return render_to_response ( 'news/widgets/my_watchlist' , context , context_instance = RequestContext ( request ) , response_format = response_format )
displays news about all objects a user is subscribed to .