code: def add_manager_view(request):
      ''' View to add a new manager position. Restricted to superadmins and presidents. '''
      form = ManagerForm(request.POST or None)
      if form.is_valid():
          manager = form.save()
          messages.add_message(request, messages.SUCCESS,
                               MESSAGES['MANAGER_ADDED'].format(managerTitle=manager.title))
          return HttpResponseRedirect(reverse('managers:add_manager'))
      return render_to_response('edit_manager.html', {
          'page_name': "Admin - Add Manager",
          'managerset': Manager.objects.all(),
          'form': form,
          }, context_instance=RequestContext(request)f add_manager_view(request):
      ''' View to add a new manager position. Restricted to superadmins and presidents. '''
      form = ManagerForm(request.POST or None)
      if form.is_valid():
          manager = form.save()
          messages.add_message(request, messages.SUCCESS,
                               MESSAGES['MANAGER_ADDED'].format(managerTitle=manager.title))
          return HttpResponseRedirect(reverse('managers:add_manager'))
      return render_to_response('edit_manager.html', {
          'page_name': "Admin - Add Manager",
          'managerset': Manager.objects.all(),
          'form': form,
          }, context_instance=RequestContext(request))
docs: View to add a new manager position. Restricted to superadmins and presidents.