@facebook_required_lazy
def lazy_decorator_example(request, graph):
 if graph:
  if (request.method == 'POST'):
   friends = graph.get('me/friends')
  return HttpResponse('authorized')
 else:
  return HttpResponse('user denied or error')

@ facebook_required_lazy def lazy_decorator_example ( request , graph ) : if graph : if ( request . method == 'POST' ) : friends = graph . get ( 'me/friends' ) return HttpResponse ( 'authorized' ) else : return HttpResponse ( 'user denied or error' )
the lazy decorator is faster .