code: def red_ext(request, message=None):
      '''
      The external landing.
      Also a convenience function for redirecting users who don't have site access to the external page.
      Parameters:
          request - the request in the calling function
          message - a message from the caller function
      '''
      if message:
          messages.add_message(request, messages.ERROR, message)
      return HttpResponseRedirect(reverse('external')f red_ext(request, message=None):
      '''
      The external landing.
      Also a convenience function for redirecting users who don't have site access to the external page.
      Parameters:
          request - the request in the calling function
          message - a message from the caller function
      '''
      if message:
          messages.add_message(request, messages.ERROR, message)
      return HttpResponseRedirect(reverse('external'))
docs: The external landing.
      Also a convenience function for redirecting users who don't have site access to the external page.
      Parameters:
          request - the request in the calling function
          message - a message from the caller function