old_contents: from utils import redirect_to_facebook_authorization
  from settings import FACEBOOK_APPLICATION_URL
  
  def authorize_application(request):
      return redirect_to_facebook_authorization(
          redirect_uri = request.GET['redirect_uri'] if request.GET.has_key('redirect_uri') else FACEBOOK_APPLICATION_URL
      )
  
new_contents: from utils import redirect_to_facebook_authorization
  from settings import FACEBOOK_APPLICATION_URL
  
  def authorize_application(request):
      """
      Redirect to Facebook authorization, then redirect back to the value of the 'redirect_uri' query string
      or default to FACEBOOK_APPLICATION_URL.
      """
      return redirect_to_facebook_authorization(
          redirect_uri = request.GET['redirect_uri'] if request.GET.has_key('redirect_uri') else FACEBOOK_APPLICATION_URL
      )
  
subject: Add docstring