@login_required
def get_favorites(req):
 return render_to_response('favorite/favorite_list.html', RequestContext(req, {'favorites': models.Favorite.objects.favorites_for_user(req.user)}))

@ login_required def get_favorites ( req ) : return render_to_response ( 'favorite/favorite_list.html' , RequestContext ( req , { 'favorites' : models . Favorite . objects . favorites_for_user ( req . user ) } ) )
display the request users favorites .