code: def manager_view(request, managerTitle):
      ''' View the details of a manager position.
      Parameters:
          request is an HTTP request
          managerTitle is the URL title of the manager.
      '''
      targetManager = get_object_or_404(Manager, url_title=managerTitle)
  
      if not targetManager.active:
          messages.add_message(request, messages.ERROR, MESSAGES['INACTIVE_MANAGER'].format(managerTitle=targetManager.title))
          return HttpResponseRedirect(reverse('managers:list_managers'))
      else:
          return render_to_response('view_manager.html', {
              'page_name': "View Manager",
              'targetManager': targetManager,
              }, context_instance=RequestContext(request)f manager_view(request, managerTitle):
      ''' View the details of a manager position.
      Parameters:
          request is an HTTP request
          managerTitle is the URL title of the manager.
      '''
      targetManager = get_object_or_404(Manager, url_title=managerTitle)
  
      if not targetManager.active:
          messages.add_message(request, messages.ERROR, MESSAGES['INACTIVE_MANAGER'].format(managerTitle=targetManager.title))
          return HttpResponseRedirect(reverse('managers:list_managers'))
      else:
          return render_to_response('view_manager.html', {
              'page_name': "View Manager",
              'targetManager': targetManager,
              }, context_instance=RequestContext(request))
docs: View the details of a manager position.
      Parameters:
          request is an HTTP request
          managerTitle is the URL title of the manager.