@handle_response_format
@treeio_login_required
def watchlist(request, response_format='html'):
 profile = request.user.profile
 watchlist = profile.subscriptions.all()
 context = {'profile': profile, 'watchlist': watchlist}
 return render_to_response('account/watchlist', context, context_instance=RequestContext(request), response_format=response_format)

@ handle_response_format @ treeio_login_required def watchlist ( request , response_format = 'html' ) : profile = request . user . profile watchlist = profile . subscriptions . all ( ) context = { 'profile' : profile , 'watchlist' : watchlist } return render_to_response ( 'account/watchlist' , context , context_instance = RequestContext ( request ) , response_format = response_format )
displays all objects a user is subscribed to .